1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

[SM-611] Fix edit dialog & overview secrets refresh (#4951)

* Fix edit dialog

* Have secrets list refresh during project deletion

* Fix input required for init edit

* Fixing delete prompt for edit dialog
This commit is contained in:
Thomas Avery
2023-03-07 17:59:52 -06:00
committed by GitHub
parent 85cd419d5c
commit 720b61076a
3 changed files with 17 additions and 7 deletions

View File

@@ -116,7 +116,11 @@ export class OverviewComponent implements OnInit, OnDestroy {
share()
);
const secrets$ = combineLatest([orgId$, this.secretService.secret$.pipe(startWith(null))]).pipe(
const secrets$ = combineLatest([
orgId$,
this.secretService.secret$.pipe(startWith(null)),
this.projectService.project$.pipe(startWith(null)),
]).pipe(
switchMap(([orgId]) => this.secretService.getSecrets(orgId)),
share()
);