mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
Migrate OrganizationService to StateProvider (#7895)
This commit is contained in:
@@ -63,7 +63,9 @@ export class ProjectSecretsComponent {
|
||||
switchMap(async ([_, params]) => {
|
||||
this.organizationId = params.organizationId;
|
||||
this.projectId = params.projectId;
|
||||
this.organizationEnabled = this.organizationService.get(params.organizationId)?.enabled;
|
||||
this.organizationEnabled = (
|
||||
await this.organizationService.get(params.organizationId)
|
||||
)?.enabled;
|
||||
return await this.getSecretsByProject();
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user