added track by to ng-repeat to improve speed
This commit is contained in:
parent
dc8d87f267
commit
c5ac85f106
2
dist/index.html
vendored
2
dist/index.html
vendored
File diff suppressed because one or more lines are too long
@ -183,7 +183,7 @@ block content
|
||||
th
|
||||
i.icon-bulb(data-toggle="tooltip", data-placement="top", title="Up-time", ng-click="orderTable(['-stats.uptime'], false)")
|
||||
tbody(ng-cloak)
|
||||
tr(ng-repeat='node in nodes | orderBy:predicate', class="{{ node.stats | mainClass : bestBlock }}")
|
||||
tr(ng-repeat='node in nodes | orderBy:predicate track by node.id', class="{{ node.stats | mainClass : bestBlock }}")
|
||||
td.td-nodecheck
|
||||
i(ng-click="node.pinned = !node.pinned", class="{{ node.pinned | nodePinClass }}", data-toggle="tooltip", data-placement="right", data-original-title="Click to {{ node.pinned ? 'un' : '' }}pin")
|
||||
td.nodeInfo(rel="{{node.id}}")
|
||||
|
Loading…
Reference in New Issue
Block a user