1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

added vault search

This commit is contained in:
Kyle Spearrin
2016-09-13 00:14:49 -04:00
parent a2916418ac
commit 348f5e7ef1
10 changed files with 112 additions and 13 deletions

View File

@@ -64,7 +64,7 @@
url: "/vault",
templateUrl: "app/vault/views/vault.html",
controller: 'vaultController',
params: { scrollY: 0 }
params: { scrollY: 0, searchText: null }
})
.state('tabs.settings', {
url: "/settings",
@@ -82,21 +82,21 @@
templateUrl: "app/vault/views/vaultViewSite.html",
controller: 'vaultViewSiteController',
data: { authorize: true },
params: { animation: null, returnScrollY: 0 }
params: { animation: null, returnScrollY: 0, returnSearchText: null }
})
.state('addSite', {
url: "/add-site",
templateUrl: "app/vault/views/vaultAddSite.html",
controller: 'vaultAddSiteController',
data: { authorize: true },
params: { animation: null, returnScrollY: 0 }
params: { animation: null, returnScrollY: 0, returnSearchText: null }
})
.state('editSite', {
url: "/edit-site?siteId",
templateUrl: "app/vault/views/vaultEditSite.html",
controller: 'vaultEditSiteController',
data: { authorize: true },
params: { animation: null, fromView: true, returnScrollY: 0 }
params: { animation: null, fromView: true, returnScrollY: 0, returnSearchText: null }
});
})
.run(function ($rootScope, userService, loginService, tokenService, $state) {