enable forNode special handling

This commit is contained in:
Christoph Kluge 2023-08-23 16:29:46 +02:00
parent dc67a1f103
commit 61c83c375d
2 changed files with 3 additions and 1 deletions

View File

@ -212,6 +212,7 @@
.subCluster}
series={item.metric.series}
resources={[{hostname: hostname}]}
forNode={true}
/>
{:else if item.disabled === true && item.metric}
<Card

View File

@ -145,7 +145,8 @@
metric={item.data.name}
cluster={clusters.find(c => c.name == cluster)}
subCluster={item.subCluster}
resources={[{hostname: item.host}]}/>
resources={[{hostname: item.host}]}
forNode={true}/>
{:else if item.disabled === true && item.data}
<Card style="margin-left: 2rem;margin-right: 2rem;" body color="info">Metric disabled for subcluster <code>{selectedMetric}:{item.subCluster}</code></Card>
{:else}