Skip to content

Commit

Permalink
Fixed "user-dialog" dashboard markup
Browse files Browse the repository at this point in the history
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
  • Loading branch information
leekelleher authored and nathanwoulfe committed Jul 1, 2021
1 parent 33e4418 commit 7afcd59
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,11 @@ <h5>

</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>
Expand Down

0 comments on commit 7afcd59

Please sign in to comment.