Set a default error message for resource views
Ensures that we don't display an empty error box
This commit is contained in:
parent
773ea9fc65
commit
c7e439f593
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<div class="resource-view-element">
|
||||
<div class="cor-loader" ng-show="getState(resources) == 'loading'"></div>
|
||||
<div class="co-alert co-alert-warning" ng-show="getState(resources) == 'error'">
|
||||
{{ errorMessage }}
|
||||
{{ errorMessage || 'Could not load resource' }}
|
||||
</div>
|
||||
<div class="resource-content" ng-class="getState(resources) == 'ready' ? 'visible' : 'hidden'">
|
||||
<span ng-transclude></span>
|
||||
|
|
Reference in a new issue