1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00: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

Submodule jslib updated: cb7336c0e8...cbcf0adad5

View File

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