[develop | DONE | FIXED ] community status checks
This commit is contained in:
parent
56faf6f6a4
commit
cf0ebe0fb0
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue