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:
parent
5ea111b148
commit
25d89f36a3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user