forked from potsda.mn/mobilizon
Merge branch 'fix-group-report' into 'main'
fix(front): fix reporting group See merge request framasoft/mobilizon!1521
This commit is contained in:
commit
5997e9e14c
|
@ -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