From 57d0372ce8b29952caff8bbf7c902c7862a77b49 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 4 Jan 2024 14:02:13 +0100 Subject: [PATCH] fix(front): fix reporting group Item was hidden unless anonymous reporting was enabled Signed-off-by: Thomas Citharel --- src/views/Group/GroupView.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/Group/GroupView.vue b/src/views/Group/GroupView.vue index b47cac552..285951d1f 100644 --- a/src/views/Group/GroupView.vue +++ b/src/views/Group/GroupView.vue @@ -1086,7 +1086,10 @@ const physicalAddress = computed((): Address | null => { }); const ableToReport = computed((): boolean => { - return anonymousReportsConfig.value?.allowed === true; + return ( + currentActor.value?.id !== undefined || + anonymousReportsConfig.value?.allowed === true + ); }); const organizedEvents = computed((): Paginate => {