mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
[EC-1053] Combined 'queryParams' subscriptions to be fired in order to use syncService first (#4607)
This commit is contained in:
@@ -131,12 +131,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
await this.editCipher(cipherView);
|
await this.editCipher(cipherView);
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
takeUntil(this.destroy$)
|
switchMap(() => this.route.queryParams),
|
||||||
)
|
|
||||||
.subscribe();
|
|
||||||
|
|
||||||
this.route.queryParams
|
|
||||||
.pipe(
|
|
||||||
switchMap(async (params) => {
|
switchMap(async (params) => {
|
||||||
const cipherId = getCipherIdFromParams(params);
|
const cipherId = getCipherIdFromParams(params);
|
||||||
if (cipherId) {
|
if (cipherId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user