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:
@@ -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> => {
|
||||
|
||||
Reference in New Issue
Block a user