Key allocation rows to prevent unnecessary re-renders

This commit is contained in:
Michael Lange 2020-05-11 19:58:31 -07:00
parent 2d6cedc1b5
commit c84070fc42
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
<th>CPU</th>
<th>Memory</th>
{{/t.head}}
{{#t.body as |row|}}
{{#t.body key="model.allocID" as |row|}}
{{plugin-allocation-row
data-test-controller-allocation=row.model.allocID
pluginAllocation=row.model}}
@ -81,7 +81,7 @@
<th>CPU</th>
<th>Memory</th>
{{/t.head}}
{{#t.body as |row|}}
{{#t.body key="model.allocID" as |row|}}
{{plugin-allocation-row
data-test-node-allocation=row.model.allocID
pluginAllocation=row.model}}