Allow prop for EventBanner to be null

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-08-13 16:56:27 +02:00
parent 423209aa2d
commit 4831379d13
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -15,7 +15,7 @@ import LazyImageWrapper from "../Image/LazyImageWrapper.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;
}
</script>