From 4a028376e47f42e74a33978935a643206805ff00 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 14 Apr 2018 00:02:55 -0400 Subject: [PATCH] init this.loginCiphers --- jslib | 2 +- src/popup/vault/current-tab.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 95cd9153c9..5608f11925 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 95cd9153c9ede6bbecc2b65634ef30505be67558 +Subproject commit 5608f119252ca29ddae8fe98599efd27f7922a2e diff --git a/src/popup/vault/current-tab.component.ts b/src/popup/vault/current-tab.component.ts index 54f3e69675..8357e3cb76 100644 --- a/src/popup/vault/current-tab.component.ts +++ b/src/popup/vault/current-tab.component.ts @@ -153,9 +153,10 @@ export class CurrentTabComponent implements OnInit, OnDestroy { private async load() { const tab = await BrowserApi.getTabFromCurrentWindow(); - if (tab) { + if (tab != null) { this.url = tab.url; } else { + this.loginCiphers = []; this.loaded = true; return; }