[develop | DONE | FIXED ] community status checks

This commit is contained in:
argirok 2024-02-14 10:46:15 +02:00
parent 56faf6f6a4
commit cf0ebe0fb0
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export class ContextsService {
if(getAll) {
return this.communitiesSubject.getValue();
} else {
return this.communitiesSubject.getValue().filter(community => community.status != 'hidden');
return this.communitiesSubject.getValue().filter(community => !community.isPrivate());
}
}