Fix Angular tabs

Change-Id: I0108e200d10f6bfc7e835f6c53d9e30abd4eafdf
Closes-Bug: 1656051
This commit is contained in:
Rob Cresswell 2017-01-19 15:12:30 +00:00
parent f321f6c1a6
commit a194157cd9

View File

@ -1,9 +1,9 @@
<div ng-if="views.length > 1"> <div ng-if="views.length > 1">
<tabset class="tabset-details"> <uib-tabset class="tabset-details">
<tab class="tab-details" ng-repeat="view in views" heading="{$ view.name $}"> <uib-tab class="tab-details" ng-repeat="view in views" heading="{$ view.name $}">
<ng-include src="view.template"></ng-include> <ng-include src="view.template"></ng-include>
</tab> </uib-tab>
</tabset> </uib-tabset>
</div> </div>
<div ng-if="views.length === 1"> <div ng-if="views.length === 1">
<ng-include src="views[0].template"></ng-include> <ng-include src="views[0].template"></ng-include>