Skip to content

Commit 7f008f0

Browse files
committed
93: Use track by to improve ng-repeat performance. iloire#98
1 parent 3e60133 commit 7f008f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webserver/views/service-list.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<tbody>
2929

3030
<tr ng-class={'result-disabled':row.service.enabled===false,'result-success':!row.status.currentOutage,'result-error':row.status.currentOutage}
31-
ng-repeat="row in $data | filter:serviceFilter">
31+
ng-repeat="row in $data | filter:serviceFilter track by row.service.id">
3232

3333
<% if ((user && user.isAdmin) || no_auth) { %>
3434
<td class="admin-operations" data-title="'Admin'">

0 commit comments

Comments
 (0)