Allow prop for EventBanner to be null
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
423209aa2d
commit
4831379d13
|
@ -15,7 +15,7 @@ import LazyImageWrapper from "../Image/LazyImageWrapper.vue";
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
export default class EventBanner extends Vue {
|
export default class EventBanner extends Vue {
|
||||||
@Prop({ required: true, default: null, type: Object as PropType<IMedia> })
|
@Prop({ default: null, type: Object as PropType<IMedia> })
|
||||||
picture!: IMedia | null;
|
picture!: IMedia | null;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue