diff --git a/src/app/vault/vaultLoginSubvaultsController.js b/src/app/vault/vaultLoginSubvaultsController.js index 923779d793..bc5fca7c3e 100644 --- a/src/app/vault/vaultLoginSubvaultsController.js +++ b/src/app/vault/vaultLoginSubvaultsController.js @@ -32,9 +32,10 @@ return cipher; } - return; + return null; }).then(function (cipher) { - if (!cipher.Edit) { + if (!cipher) { + $scope.loadingSubvaults = false; return; } diff --git a/src/app/vault/views/vaultLoginSubvaults.html b/src/app/vault/views/vaultLoginSubvaults.html index 63569f7872..6d8d1ac2fe 100644 --- a/src/app/vault/views/vaultLoginSubvaults.html +++ b/src/app/vault/views/vaultLoginSubvaults.html @@ -15,7 +15,7 @@ Loading...
-

No subvaults.

+

No subvaults to manage.