1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-06 23:51:28 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {