From c84070fc42b3647b4aac38ef5a0dae23dfb39701 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Mon, 11 May 2020 19:58:31 -0700 Subject: [PATCH] Key allocation rows to prevent unnecessary re-renders --- ui/app/templates/csi/plugins/plugin.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/templates/csi/plugins/plugin.hbs b/ui/app/templates/csi/plugins/plugin.hbs index e777a11e9..6dc01a55f 100644 --- a/ui/app/templates/csi/plugins/plugin.hbs +++ b/ui/app/templates/csi/plugins/plugin.hbs @@ -44,7 +44,7 @@ CPU Memory {{/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 @@ CPU Memory {{/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}}