From c2055d92ae7707b5aab3fd14ea827df0696cca61 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 29 Feb 2024 09:56:08 +0100 Subject: [PATCH] fix(front): fix typing for canReport prop on DiscussionComment Signed-off-by: Thomas Citharel --- src/components/Discussion/DiscussionComment.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Discussion/DiscussionComment.vue b/src/components/Discussion/DiscussionComment.vue index 419b41586..0813a9198 100644 --- a/src/components/Discussion/DiscussionComment.vue +++ b/src/components/Discussion/DiscussionComment.vue @@ -168,7 +168,7 @@ const props = withDefaults( defineProps<{ modelValue: IComment; currentActor: IPerson; - canReport: boolean; + canReport?: boolean; }>(), { canReport: false } );