Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
93: Use tack by to improve ng-repeat performance.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu-kyatannawar committed Jun 10, 2017
1 parent 97f421c commit ec6f822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webserver/views/service-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<tbody>

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

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

0 comments on commit ec6f822

Please sign in to comment.