Key allocation rows to prevent unnecessary re-renders
This commit is contained in:
parent
2d6cedc1b5
commit
c84070fc42
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue