mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
clear view grouping state on vault load
This commit is contained in:
@@ -5,6 +5,7 @@ angular
|
||||
syncService, utilsService, $analytics, i18nService, stateService, $timeout, $window, collectionService) {
|
||||
var stateKey = 'vault',
|
||||
state = stateService.getState(stateKey) || {};
|
||||
stateService.removeState('viewGrouping');
|
||||
|
||||
$scope.i18n = i18nService;
|
||||
$scope.showGroupingCounts = !utilsService.isEdge();
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centered-message" ng-if="loaded && !vaultCiphers.length">
|
||||
<div class="centered-message" ng-if="loaded && !vaultCiphers.length && !searchText">
|
||||
<p>
|
||||
{{i18n.noItemsInList}}
|
||||
<button ng-click="addCipher()" style="margin-top: 20px;" class="btn btn-link btn-block">{{i18n.addItem}}</button>
|
||||
|
||||
Reference in New Issue
Block a user