1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

[EC-1053] Combined 'queryParams' subscriptions to be fired in order to use syncService first (#4607)

This commit is contained in:
Rui Tomé
2023-01-31 12:53:07 +00:00
committed by GitHub
parent 5ea111b148
commit 25d89f36a3

View File

@@ -131,12 +131,7 @@ export class VaultComponent implements OnInit, OnDestroy {
await this.editCipher(cipherView);
}
}),
takeUntil(this.destroy$)
)
.subscribe();
this.route.queryParams
.pipe(
switchMap(() => this.route.queryParams),
switchMap(async (params) => {
const cipherId = getCipherIdFromParams(params);
if (cipherId) {