Skip to content

Commit

Permalink
camptocamp#3598 Fix ngRepeat track by displayquerygrid
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabathuler committed Mar 2, 2018
1 parent 4a3780f commit 1e01b1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contribs/gmf/src/directives/partials/displayquerygrid.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
role="tablist">

<li
ng-repeat="gridSource in ctrl.getGridSources() track by gridSource.source.id"
ng-repeat="gridSource in ctrl.getGridSources() track by gridSource.source.label"
role="presentation"
ng-class="{'active' : ctrl.isSelected(gridSource)}"
ng-click="ctrl.selectTab(gridSource)">
Expand All @@ -34,7 +34,7 @@

<div class="tab-content">
<div
ng-repeat="gridSource in ctrl.getGridSources() track by gridSource.source.id"
ng-repeat="gridSource in ctrl.getGridSources() track by gridSource.source.label"
role="tabpanel"
class="tab-pane"
ng-class="{'active' : ctrl.isSelected(gridSource)}"
Expand Down

0 comments on commit 1e01b1b

Please sign in to comment.