[Table] Track by index, save the elements
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<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-if="visibleRow.rowIndex === toiRowIndex"
|
||||||
ng-style="{ top: visibleRow.offsetY + 'px' }"
|
ng-style="{ top: visibleRow.offsetY + 'px' }"
|
||||||
class="l-toi-tablerow">
|
class="l-toi-tablerow">
|
||||||
|
|||||||
Reference in New Issue
Block a user