fix(front): fix reporting group

Item was hidden unless anonymous reporting was enabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2024-01-04 14:02:13 +01:00
parent b317fe6163
commit 57d0372ce8
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 4 additions and 1 deletions

View File

@ -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<IEvent> => {