1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

fix null check on subvault management

This commit is contained in:
Kyle Spearrin 2017-04-12 11:11:01 -04:00
parent 31ce92fa9d
commit cdf029bc84
2 changed files with 4 additions and 3 deletions

View File

@ -32,9 +32,10 @@
return cipher;
}
return;
return null;
}).then(function (cipher) {
if (!cipher.Edit) {
if (!cipher) {
$scope.loadingSubvaults = false;
return;
}

View File

@ -15,7 +15,7 @@
Loading...
</div>
<div ng-show="!loadingSubvaults && !subvaults.length">
<p>No subvaults.</p>
<p>No subvaults to manage.</p>
</div>
<div class="table-responsive" ng-show="subvaults.length" style="margin: 0;">
<table class="table table-striped table-hover" style="margin: 0;">