mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-06 05:28:51 +02:00
vault fixes
This commit is contained in:
parent
dcb0416fd6
commit
8bc9dafff2
@ -51,7 +51,11 @@
|
|||||||
|
|
||||||
$q.all([collectionPromise, cipherPromise]).then(function () {
|
$q.all([collectionPromise, cipherPromise]).then(function () {
|
||||||
$scope.loading = false;
|
$scope.loading = false;
|
||||||
$("#search").focus();
|
$timeout(function () {
|
||||||
|
if ($('body').hasClass('control-sidebar-open')) {
|
||||||
|
$("#search").focus();
|
||||||
|
}
|
||||||
|
}, 500);
|
||||||
|
|
||||||
if ($state.params.search) {
|
if ($state.params.search) {
|
||||||
$uibModalStack.dismissAll();
|
$uibModalStack.dismissAll();
|
||||||
|
@ -22,7 +22,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$scope.$on('$viewContentLoaded', function () {
|
$scope.$on('$viewContentLoaded', function () {
|
||||||
$("#search").focus();
|
$timeout(function () {
|
||||||
|
if ($('body').hasClass('control-sidebar-open')) {
|
||||||
|
$("#search").focus();
|
||||||
|
}
|
||||||
|
}, 500);
|
||||||
|
|
||||||
if (($rootScope.vaultFolders || $rootScope.vaultCollections) && $rootScope.vaultCiphers) {
|
if (($rootScope.vaultFolders || $rootScope.vaultCollections) && $rootScope.vaultCiphers) {
|
||||||
$scope.loading = false;
|
$scope.loading = false;
|
||||||
|
@ -222,7 +222,7 @@
|
|||||||
<div class="control-sidebar-section" ng-show="!loading && vaultCollections.length">
|
<div class="control-sidebar-section" ng-show="!loading && vaultCollections.length">
|
||||||
<ul class="control-sidebar-menu">
|
<ul class="control-sidebar-menu">
|
||||||
<li ng-repeat="collection in vaultCollections | orderBy: [groupingSort] track by collection.id"
|
<li ng-repeat="collection in vaultCollections | orderBy: [groupingSort] track by collection.id"
|
||||||
ng-class="{active: selectedCollection && collection.id === selectedCollection}">
|
ng-class="{active: selectedCollection && collection.id === selectedCollection.id}">
|
||||||
<a href="#" stop-click ng-click="filterCollection(collection)">
|
<a href="#" stop-click ng-click="filterCollection(collection)">
|
||||||
<i class="fa fa-caret-right fa-fw"></i>
|
<i class="fa fa-caret-right fa-fw"></i>
|
||||||
{{collection.name}}
|
{{collection.name}}
|
||||||
|
Loading…
Reference in New Issue
Block a user