1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-09-28 03:57:47 +02:00

null checks on query param sub

This commit is contained in:
Kyle Spearrin 2019-01-16 23:30:35 -05:00
parent dfef02f909
commit 8261f3f9fb
2 changed files with 4 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit cb7336c0e8ae1f0f74c76a4d6704555cc7440a3b
Subproject commit cbcf0adad5f313c1f37232311ddce318365911b3

View File

@ -201,7 +201,9 @@ export class VaultComponent implements OnInit, OnDestroy {
await this.ciphersComponent.load();
}
}
queryParamsSub.unsubscribe();
if (queryParamsSub != null) {
queryParamsSub.unsubscribe();
}
});
}