mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-29 12:55:21 +01:00
list folders
This commit is contained in:
parent
ef4b97b336
commit
db80727e1e
@ -1,6 +1,15 @@
|
|||||||
angular
|
angular
|
||||||
.module('bit.settings')
|
.module('bit.settings')
|
||||||
|
|
||||||
.controller('settingsFoldersController', function ($scope) {
|
.controller('settingsFoldersController', function ($scope, folderService, $q) {
|
||||||
|
$scope.loaded = false;
|
||||||
|
|
||||||
|
load();
|
||||||
|
function load() {
|
||||||
|
var foldersPromise = $q.when(folderService.getAllDecrypted());
|
||||||
|
foldersPromise.then(function (folders) {
|
||||||
|
$scope.loaded = true;
|
||||||
|
$scope.folders = folders;
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
Manage
|
Manage
|
||||||
</div>
|
</div>
|
||||||
<div class="list-section-items">
|
<div class="list-section-items">
|
||||||
<a class="list-section-item" href="">
|
<a class="list-section-item" ui-sref="folders({animation: 'in-slide-left'})">
|
||||||
Folders
|
Folders
|
||||||
<i class="fa fa-chevron-right fa-lg"></i>
|
<i class="fa fa-chevron-right fa-lg"></i>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user