1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

condition show folders and collections

This commit is contained in:
Kyle Spearrin 2018-04-18 16:28:25 -04:00
parent 81200f3ecb
commit 45ffa8fc1e
2 changed files with 3 additions and 3 deletions

View File

@ -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' });

View File

@ -78,7 +78,7 @@
</a>
</div>
</div>
<div class="box list">
<div class="box list" *ngIf="folders.length">
<div class="box-header">
{{'folders' | i18n}}
<span class="flex-right">{{folderCount}}</span>
@ -98,7 +98,7 @@
</a>
</div>
</div>
<div class="box list">
<div class="box list" *ngIf="collections.length">
<div class="box-header">
{{'collections' | i18n}}
<span class="flex-right">{{collections.length}}</span>