mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-24 04:29:04 +01:00
Add shared metric marker to job view plots
This commit is contained in:
parent
d93610f700
commit
a337482fa2
@ -166,7 +166,8 @@
|
||||
metricName={item.metric}
|
||||
rawData={item.data.map(x => x.metric)}
|
||||
scopes={item.data.map(x => x.scope)}
|
||||
width={width}/>
|
||||
width={width}
|
||||
isShared={($initq.data.job.exclusive != 1)}/>
|
||||
{:else}
|
||||
<Card body color="warning">No data for <code>{item.metric}</code></Card>
|
||||
{/if}
|
||||
|
@ -9,6 +9,7 @@
|
||||
export let scopes
|
||||
export let width
|
||||
export let rawData
|
||||
export let isShared = false
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
const cluster = getContext('clusters').find(cluster => cluster.name == job.cluster)
|
||||
@ -87,6 +88,7 @@
|
||||
cluster={cluster} subCluster={subCluster}
|
||||
timestep={data.timestep}
|
||||
scope={selectedScope} metric={metricName}
|
||||
series={series} />
|
||||
series={series}
|
||||
isShared={isShared} />
|
||||
{/if}
|
||||
{/key}
|
||||
|
Loading…
Reference in New Issue
Block a user