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:
@@ -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()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user