mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-09-12 19:53:00 +02:00
fix: add missing kes to node overview, solves load to empty overview
This commit is contained in:
@@ -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}
|
Reference in New Issue
Block a user