mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
Expand vault all tabs. Search from curr. tab page.
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
$scope.i18n = i18nService;
|
||||
$scope.showFolderCounts = !utilsService.isEdge();
|
||||
$scope.showOnlyFolderView = utilsService.isEdge();
|
||||
$scope.disableSearch = utilsService.isEdge();
|
||||
$('#search').focus();
|
||||
|
||||
var syncOnLoad = $stateParams.syncOnLoad;
|
||||
@@ -84,8 +83,8 @@
|
||||
}
|
||||
|
||||
$scope.searchText = null;
|
||||
if (state.searchText) {
|
||||
$scope.searchText = state.searchText;
|
||||
if (state.searchText || $stateParams.searchText) {
|
||||
$scope.searchText = state.searchText || $stateParams.searchText;
|
||||
}
|
||||
|
||||
$scope.folderSort = function (item) {
|
||||
@@ -158,11 +157,6 @@
|
||||
$timeout(loadVault, 500);
|
||||
});
|
||||
|
||||
$scope.expandVault = function (e) {
|
||||
$analytics.eventTrack('Expand Vault');
|
||||
chrome.tabs.create({ url: '/popup/index.html#!/tab/vault' });
|
||||
};
|
||||
|
||||
function storeState() {
|
||||
stateService.saveState(stateKey, {
|
||||
scrollY: getScrollY(),
|
||||
|
||||
Reference in New Issue
Block a user