1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

view grouping of ciphers for a collection

This commit is contained in:
Kyle Spearrin
2017-11-22 21:55:48 -05:00
parent 991ddd8271
commit 2e9b3d0943
12 changed files with 79 additions and 49 deletions

View File

@@ -172,10 +172,11 @@ angular
}, 200);
};
$scope.viewGrouping = function (grouping) {
$scope.viewGrouping = function (grouping, folder) {
storeState();
$state.go('viewFolder', {
folderId: grouping.id || '0',
$state.go('viewGrouping', {
folderId: (folder && grouping.id) || '0',
collectionId: (!folder && grouping.id) || '0',
animation: 'in-slide-left'
});
};