{#if $nodeMetricsData.error}
{$nodeMetricsData.error.message}
{:else if $nodeMetricsData.fetching || $initq.fetching}
{:else}
({
...m,
disabled: checkMetricDisabled(
m.name,
cluster,
$nodeMetricsData.data.nodeMetrics[0].subCluster,
),
}))
.sort((a, b) => a.name.localeCompare(b.name))}
>
{item.name}
{systemUnits[item.name] ? "(" + systemUnits[item.name] + ")" : ""}
{#if item.disabled === false && item.metric}
c.name == cluster)}
subCluster={$nodeMetricsData.data.nodeMetrics[0].subCluster}
series={item.metric.series}
forNode={true}
/>
{:else if item.disabled === true && item.metric}
Metric disabled for subcluster {item.name}:{$nodeMetricsData.data.nodeMetrics[0]
.subCluster}
{:else}
No dataset returned for {item.name}
{/if}
{/if}