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:
parent
b317fe6163
commit
57d0372ce8
|
@ -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> => {
|
||||
|
|
Loading…
Reference in a new issue