mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-02 08:30:14 +01:00
only folder view in vault for edge
This commit is contained in:
parent
baf610c2bd
commit
0b2fa01232
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
$scope.i18n = i18nService;
|
$scope.i18n = i18nService;
|
||||||
$scope.showFolderCounts = !utilsService.isEdge();
|
$scope.showFolderCounts = !utilsService.isEdge();
|
||||||
|
$scope.showOnlyFolderView = utilsService.isEdge();
|
||||||
$scope.disableSearch = utilsService.isEdge();
|
$scope.disableSearch = utilsService.isEdge();
|
||||||
$('#search').focus();
|
$('#search').focus();
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content content-tabs">
|
<div class="content content-tabs">
|
||||||
<div ng-if="vaultLogins.length && vaultLogins.length >= 100 && vaultFolders.length && (!searchText || searchText.length < 2)">
|
<div ng-if="vaultLogins.length && (showOnlyFolderView || vaultLogins.length >= 100) && vaultFolders.length && (!searchText || searchText.length < 2)">
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<div class="list-section" style="padding-bottom: 0;">
|
<div class="list-section" style="padding-bottom: 0;">
|
||||||
<div class="list-section-header">
|
<div class="list-section-header">
|
||||||
@ -27,7 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div ng-if="vaultLogins.length && (vaultLogins.length < 100 || (searchText && searchText.length >= 2))">
|
<div ng-if="vaultLogins.length && ((vaultLogins.length < 100 && !showOnlyFolderView) || (searchText && searchText.length >= 2))">
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<div class="list-grouped" ng-repeat="folder in vaultFolders | orderBy: folderSort track by $index"
|
<div class="list-grouped" ng-repeat="folder in vaultFolders | orderBy: folderSort track by $index"
|
||||||
ng-show="vaultFolderLogins.length">
|
ng-show="vaultFolderLogins.length">
|
||||||
|
Loading…
Reference in New Issue
Block a user