From 45ffa8fc1eb48c7516169aeb0f04dc9a31d4d5f7 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 18 Apr 2018 16:28:25 -0400 Subject: [PATCH] condition show folders and collections --- src/popup/vault/current-tab.component.ts | 2 +- src/popup/vault/groupings.component.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/popup/vault/current-tab.component.ts b/src/popup/vault/current-tab.component.ts index 4663812448..1b0811ec95 100644 --- a/src/popup/vault/current-tab.component.ts +++ b/src/popup/vault/current-tab.component.ts @@ -144,7 +144,7 @@ export class CurrentTabComponent implements OnInit, OnDestroy { } if (this.popupUtilsService.inPopup(window)) { - BrowserApi.closePopup(window); + BrowserApi.closePopup(window); } } catch { this.analytics.eventTrack.next({ action: 'Autofilled Error' }); diff --git a/src/popup/vault/groupings.component.html b/src/popup/vault/groupings.component.html index e9a9a6a2e9..5ae83a8aa2 100644 --- a/src/popup/vault/groupings.component.html +++ b/src/popup/vault/groupings.component.html @@ -78,7 +78,7 @@ -
+
{{'folders' | i18n}} {{folderCount}} @@ -98,7 +98,7 @@
-
+
{{'collections' | i18n}} {{collections.length}}