1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[PS-1942] Add Provider Filters (#4147)

* Add Helper to filter out Provider Orgs

* Use filter where getAll used to be used

* Change name to isNotProviderUser
This commit is contained in:
Justin Baur
2022-12-01 15:31:24 -05:00
committed by GitHub
parent 41673f0f6d
commit 7b55096edf
5 changed files with 24 additions and 5 deletions

View File

@@ -70,6 +70,10 @@ export function canAccessAdmin(i18nService: I18nService) {
);
}
export function isNotProviderUser(org: Organization): boolean {
return !org.isProviderUser;
}
export abstract class OrganizationService {
organizations$: Observable<Organization[]>;