fix: add missing kes to node overview, solves load to empty overview

This commit is contained in:
Christoph Kluge
2025-09-10 15:31:39 +02:00
parent 9020613a8b
commit 05c45c6468

View File

@@ -124,25 +124,25 @@
{:else if filteredData?.length > 0} {:else if filteredData?.length > 0}
<!-- PlotGrid flattened into this component --> <!-- PlotGrid flattened into this component -->
<Row cols={{ xs: 1, sm: 2, md: 3, lg: ccconfig.plot_view_plotsPerRow}}> <Row cols={{ xs: 1, sm: 2, md: 3, lg: ccconfig.plot_view_plotsPerRow}}>
{#each filteredData as item (item.host)} {#key filteredData}
<Col class="px-1"> {#each filteredData as item (item.host)}
<h4 style="width: 100%; text-align: center;"> <Col class="px-1">
<a <h4 style="width: 100%; text-align: center;">
style="display: block;padding-top: 15px;" <a
href="/monitoring/node/{cluster}/{item.host}" style="display: block;padding-top: 15px;"
>{item.host} ({item.subCluster})</a href="/monitoring/node/{cluster}/{item.host}"
> >{item.host} ({item.subCluster})</a
</h4> >
{#if item?.disabled} </h4>
<Card body class="mx-3" color="info" {#if item?.disabled}
>Metric disabled for subcluster <code <Card body class="mx-3" color="info"
>{selectedMetric}:{item.subCluster}</code >Metric disabled for subcluster <code
></Card >{selectedMetric}:{item.subCluster}</code
> ></Card
{:else} >
<!-- "No Data"-Warning included in MetricPlot-Component --> {:else}
<!-- #key: X-axis keeps last selected timerange otherwise --> <!-- "No Data"-Warning included in MetricPlot-Component -->
{#key item.data[0].metric.series[0].data.length} <!-- #key: X-axis keeps last selected timerange otherwise -->
<MetricPlot <MetricPlot
timestep={item.data[0].metric.timestep} timestep={item.data[0].metric.timestep}
series={item.data[0].metric.series} series={item.data[0].metric.series}
@@ -151,9 +151,9 @@
subCluster={item.subCluster} subCluster={item.subCluster}
forNode forNode
/> />
{/key} {/if}
{/if} </Col>
</Col> {/each}
{/each} {/key}
</Row> </Row>
{/if} {/if}