From e29be2f140dca8b0281c1d24efa95c848da44c2d Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Mon, 16 Sep 2024 15:03:38 +0200 Subject: [PATCH] fix missing scope field request for jobview --- web/frontend/src/Job.root.svelte | 2 +- web/frontend/src/generic/helper/Tag.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/frontend/src/Job.root.svelte b/web/frontend/src/Job.root.svelte index ca11692..517671d 100644 --- a/web/frontend/src/Job.root.svelte +++ b/web/frontend/src/Job.root.svelte @@ -75,7 +75,7 @@ duration, numNodes, numHWThreads, numAcc, SMT, exclusive, partition, subCluster, arrayJobId, monitoringStatus, state, walltime, - tags { id, type, name }, + tags { id, type, scope, name }, resources { hostname, hwthreads, accelerators }, metaData, userData { name, email }, diff --git a/web/frontend/src/generic/helper/Tag.svelte b/web/frontend/src/generic/helper/Tag.svelte index 2be9ee6..b3e2d6b 100644 --- a/web/frontend/src/generic/helper/Tag.svelte +++ b/web/frontend/src/generic/helper/Tag.svelte @@ -39,7 +39,7 @@ {#if tag} {#if tag?.scope === "global"} {tag.type}: {tag.name} - {:else if tag.scope === "admin"} + {:else if tag?.scope === "admin"} {tag.type}: {tag.name} {:else} {tag.type}: {tag.name}