1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-10 01:28:36 +02:00

init this.loginCiphers

This commit is contained in:
Kyle Spearrin 2018-04-14 00:02:55 -04:00
parent 38f55d7147
commit 4a028376e4
2 changed files with 3 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 95cd9153c9ede6bbecc2b65634ef30505be67558 Subproject commit 5608f119252ca29ddae8fe98599efd27f7922a2e

View File

@ -153,9 +153,10 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
private async load() { private async load() {
const tab = await BrowserApi.getTabFromCurrentWindow(); const tab = await BrowserApi.getTabFromCurrentWindow();
if (tab) { if (tab != null) {
this.url = tab.url; this.url = tab.url;
} else { } else {
this.loginCiphers = [];
this.loaded = true; this.loaded = true;
return; return;
} }