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

rename subvault => collection

This commit is contained in:
Kyle Spearrin
2017-04-27 09:33:12 -04:00
parent 361f03eb5f
commit 1ebae5c284
37 changed files with 555 additions and 555 deletions

View File

@@ -264,18 +264,18 @@
});
};
$scope.subvaults = function (login) {
$scope.collections = function (login) {
var modal = $uibModal.open({
animation: true,
templateUrl: 'app/vault/views/vaultLoginSubvaults.html',
controller: 'vaultLoginSubvaultsController',
templateUrl: 'app/vault/views/vaultLoginCollections.html',
controller: 'vaultLoginCollectionsController',
resolve: {
loginId: function () { return login.id; }
}
});
modal.result.then(function (response) {
if (response.subvaultIds && !response.subvaultIds.length) {
if (response.collectionIds && !response.collectionIds.length) {
removeLoginFromScopes(login);
}
});