fix(front): fix typing for canReport prop on DiscussionComment

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2024-02-29 09:56:08 +01:00
parent b8d75025d2
commit c2055d92ae
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -168,7 +168,7 @@ const props = withDefaults(
defineProps<{
modelValue: IComment;
currentActor: IPerson;
canReport: boolean;
canReport?: boolean;
}>(),
{ canReport: false }
);