[Table] Track by index, save the elements

This commit is contained in:
Pete Richards 2017-02-21 16:49:39 -08:00
parent 34dc457aff
commit 2fa567b98b

View File

@ -49,7 +49,7 @@
</tr>
</thead>
<tbody>
<tr ng-repeat-start="visibleRow in visibleRows track by visibleRow.rowIndex"
<tr ng-repeat-start="visibleRow in visibleRows track by $index"
ng-if="visibleRow.rowIndex === toiRowIndex"
ng-style="{ top: visibleRow.offsetY + 'px' }"
class="l-toi-tablerow">