mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 19:53:43 +00:00
Migrate OrganizationService to StateProvider (#7895)
This commit is contained in:
@@ -14,7 +14,7 @@ export class NavigationComponent {
|
||||
protected readonly logo = SecretsManagerLogo;
|
||||
protected orgFilter = (org: Organization) => org.canAccessSecretsManager;
|
||||
protected isAdmin$ = this.route.params.pipe(
|
||||
map((params) => this.organizationService.get(params.organizationId)?.isAdmin),
|
||||
map(async (params) => (await this.organizationService.get(params.organizationId))?.isAdmin),
|
||||
);
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user