mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
enable forNode special handling
This commit is contained in:
parent
dc67a1f103
commit
61c83c375d
@ -212,6 +212,7 @@
|
|||||||
.subCluster}
|
.subCluster}
|
||||||
series={item.metric.series}
|
series={item.metric.series}
|
||||||
resources={[{hostname: hostname}]}
|
resources={[{hostname: hostname}]}
|
||||||
|
forNode={true}
|
||||||
/>
|
/>
|
||||||
{:else if item.disabled === true && item.metric}
|
{:else if item.disabled === true && item.metric}
|
||||||
<Card
|
<Card
|
||||||
|
@ -145,7 +145,8 @@
|
|||||||
metric={item.data.name}
|
metric={item.data.name}
|
||||||
cluster={clusters.find(c => c.name == cluster)}
|
cluster={clusters.find(c => c.name == cluster)}
|
||||||
subCluster={item.subCluster}
|
subCluster={item.subCluster}
|
||||||
resources={[{hostname: item.host}]}/>
|
resources={[{hostname: item.host}]}
|
||||||
|
forNode={true}/>
|
||||||
{:else if item.disabled === true && item.data}
|
{: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>
|
<Card style="margin-left: 2rem;margin-right: 2rem;" body color="info">Metric disabled for subcluster <code>{selectedMetric}:{item.subCluster}</code></Card>
|
||||||
{:else}
|
{:else}
|
||||||
|
Loading…
Reference in New Issue
Block a user