mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
clear view grouping state on vault load
This commit is contained in:
parent
f2eb46eade
commit
465bfd9458
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user