Fixed "user-dialog" dashboard markup
The logic in the markup was previously incorrect. I changed the check from `tab.length` to `dashboard.length`. The custom dashboard's label isn't `.caption` and it's per dashboard, not per "property". Lastly, `.path` should be `.view`. Resolves #6417
This commit is contained in:
committed by
Nathan Woulfe
parent
33e44181c1
commit
7afcd59037
@@ -130,13 +130,11 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="umb-control-group" ng-if="tab.length">
|
||||
<div class="umb-control-group" ng-if="dashboard.length > 0">
|
||||
<div ng-repeat="tab in dashboard">
|
||||
<h5 ng-if="tab.label">{{tab.label}}</h5>
|
||||
<div ng-repeat="property in tab.properties">
|
||||
<div>
|
||||
<h3 ng-if="property.caption">{{property.caption}}</h3>
|
||||
<div ng-include="property.path"></div>
|
||||
</div>
|
||||
<div ng-include="property.view"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user