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:
parent
31ce92fa9d
commit
cdf029bc84
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;">
|
||||||
|
Loading…
Reference in New Issue
Block a user