mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 02:33:46 +00:00
Migrate OrganizationService to StateProvider (#7895)
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
take,
|
||||
share,
|
||||
firstValueFrom,
|
||||
concatMap,
|
||||
} from "rxjs";
|
||||
|
||||
import { OrganizationService } from "@bitwarden/common/admin-console/abstractions/organization/organization.service.abstraction";
|
||||
@@ -105,7 +106,7 @@ export class OverviewComponent implements OnInit, OnDestroy {
|
||||
|
||||
orgId$
|
||||
.pipe(
|
||||
map((orgId) => this.organizationService.get(orgId)),
|
||||
concatMap(async (orgId) => await this.organizationService.get(orgId)),
|
||||
takeUntil(this.destroy$),
|
||||
)
|
||||
.subscribe((org) => {
|
||||
|
||||
Reference in New Issue
Block a user