mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
list folders
This commit is contained in:
parent
ef4b97b336
commit
db80727e1e
@ -1,6 +1,15 @@
|
||||
angular
|
||||
.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
|
||||
</div>
|
||||
<div class="list-section-items">
|
||||
<a class="list-section-item" href="">
|
||||
<a class="list-section-item" ui-sref="folders({animation: 'in-slide-left'})">
|
||||
Folders
|
||||
<i class="fa fa-chevron-right fa-lg"></i>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user