mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
fix null check on subvault management
This commit is contained in:
@@ -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;">
|
||||||
|
|||||||
Reference in New Issue
Block a user