fix reactivity key placement in nodeList

This commit is contained in:
Christoph Kluge
2026-02-11 18:32:29 +01:00
parent 12e9f6700e
commit e75da7f8cc

View File

@@ -151,6 +151,7 @@
{/if} {/if}
</td> </td>
{#each refinedData as metricData, i (metricData?.data?.name || i)} {#each refinedData as metricData, i (metricData?.data?.name || i)}
{#key metricData}
<td> <td>
{#if metricData?.availability == "none"} {#if metricData?.availability == "none"}
<Card body class="mx-2" color="light"> <Card body class="mx-2" color="light">
@@ -183,7 +184,6 @@
forNode forNode
/> />
<div class="my-2"></div> <div class="my-2"></div>
{#key extendedLegendData}
<MetricPlot <MetricPlot
{cluster} {cluster}
subCluster={nodeData.subCluster} subCluster={nodeData.subCluster}
@@ -196,7 +196,6 @@
{plotSync} {plotSync}
forNode forNode
/> />
{/key}
{:else} {:else}
<MetricPlot <MetricPlot
{cluster} {cluster}
@@ -210,5 +209,6 @@
/> />
{/if} {/if}
</td> </td>
{/key}
{/each} {/each}
</tr> </tr>