mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
If searching, only show folder if it has filtered logins
This commit is contained in:
parent
7264367fa3
commit
45d0f43e90
@ -8,7 +8,7 @@
|
|||||||
<div ng-show="loadingFolders && !folders.length">
|
<div ng-show="loadingFolders && !folders.length">
|
||||||
<p>Loading...</p>
|
<p>Loading...</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="box" ng-repeat="folder in folders | orderBy: folderSort" ng-show="folders.length">
|
<div class="box" ng-repeat="folder in folders | orderBy: folderSort" ng-show="folders.length && (!main.searchVaultText || folderLogins.length)">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title"><i class="fa fa-folder-open"></i> {{folder.name}} <small>{{folderLogins.length}} logins</small></h3>
|
<h3 class="box-title"><i class="fa fa-folder-open"></i> {{folder.name}} <small>{{folderLogins.length}} logins</small></h3>
|
||||||
<div class="box-tools pull-right">
|
<div class="box-tools pull-right">
|
||||||
|
Loading…
Reference in New Issue
Block a user