1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-19 02:51:14 +02: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 cipher;
} }
return; return null;
}).then(function (cipher) { }).then(function (cipher) {
if (!cipher.Edit) { if (!cipher) {
$scope.loadingSubvaults = false;
return; return;
} }

View File

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