mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
fix missing scope field request for jobview
This commit is contained in:
parent
ccbf3867e1
commit
e29be2f140
@ -75,7 +75,7 @@
|
|||||||
duration, numNodes, numHWThreads, numAcc,
|
duration, numNodes, numHWThreads, numAcc,
|
||||||
SMT, exclusive, partition, subCluster, arrayJobId,
|
SMT, exclusive, partition, subCluster, arrayJobId,
|
||||||
monitoringStatus, state, walltime,
|
monitoringStatus, state, walltime,
|
||||||
tags { id, type, name },
|
tags { id, type, scope, name },
|
||||||
resources { hostname, hwthreads, accelerators },
|
resources { hostname, hwthreads, accelerators },
|
||||||
metaData,
|
metaData,
|
||||||
userData { name, email },
|
userData { name, email },
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
{#if tag}
|
{#if tag}
|
||||||
{#if tag?.scope === "global"}
|
{#if tag?.scope === "global"}
|
||||||
<span style="background-color:#c85fc8;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
<span style="background-color:#c85fc8;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
||||||
{:else if tag.scope === "admin"}
|
{:else if tag?.scope === "admin"}
|
||||||
<span style="background-color:#19e5e6;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
<span style="background-color:#19e5e6;" class="badge text-dark">{tag.type}: {tag.name}</span>
|
||||||
{:else}
|
{:else}
|
||||||
<span class="badge bg-warning text-dark">{tag.type}: {tag.name}</span>
|
<span class="badge bg-warning text-dark">{tag.type}: {tag.name}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user