From b3e10d428e7596d2c21a39b2aa7903ead3f53c1d Mon Sep 17 00:00:00 2001 From: Tim Kreuzer <t.kreuzer@fz-juelich.de> Date: Wed, 5 Feb 2025 21:49:34 +0100 Subject: [PATCH] update mapping keys --- templates/macros/table/config/home.jinja | 6 +++--- templates/macros/table/config/workshop.jinja | 6 +++--- templates/macros/table/config/workshop_manager.jinja | 2 +- templates/macros/table/table_js.jinja | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/macros/table/config/home.jinja b/templates/macros/table/config/home.jinja index 91dcba1..db6bf62 100644 --- a/templates/macros/table/config/home.jinja +++ b/templates/macros/table/config/home.jinja @@ -436,7 +436,7 @@ }, "dependency": { "system": [ - "kube" + "jsccloud" ] } }, @@ -446,7 +446,7 @@ }, "dependency": { "system": [ - "kube" + "jsccloud" ] }, "triggerSuffix": "input-div" @@ -461,7 +461,7 @@ }, "dependency": { "system": [ - "kube" + "jsccloud" ] } } diff --git a/templates/macros/table/config/workshop.jinja b/templates/macros/table/config/workshop.jinja index 053f446..c3441cb 100644 --- a/templates/macros/table/config/workshop.jinja +++ b/templates/macros/table/config/workshop.jinja @@ -436,7 +436,7 @@ }, "dependency": { "system": [ - "kube" + "jsccloud" ] } }, @@ -446,7 +446,7 @@ }, "dependency": { "system": [ - "kube" + "jsccloud" ] }, "triggerSuffix": "input-div" @@ -461,7 +461,7 @@ }, "dependency": { "system": [ - "kube" + "jsccloud" ] } } diff --git a/templates/macros/table/config/workshop_manager.jinja b/templates/macros/table/config/workshop_manager.jinja index e2b1758..9087a05 100644 --- a/templates/macros/table/config/workshop_manager.jinja +++ b/templates/macros/table/config/workshop_manager.jinja @@ -731,7 +731,7 @@ }, "dependency": { "system": [ - "kube" + "jsccloud" ] } }, diff --git a/templates/macros/table/table_js.jinja b/templates/macros/table/table_js.jinja index ea7b67a..cf95279 100644 --- a/templates/macros/table/table_js.jinja +++ b/templates/macros/table/table_js.jinja @@ -57,11 +57,11 @@ }; } Object.entries(value.options).forEach(([optionKey, optionValue]) => { - mappingDict[serviceId]["option"][optionKey] = optionValue.type ?? optionKey; + mappingDict[serviceId]["option"][optionKey] = optionValue.mapping ?? optionKey; }); allSystems.forEach(system => { const backendService = systemConfig[system].backendService; - const systemType = backendServicesConfig[backendService]?.type ?? system; + const systemType = backendServicesConfig[backendService]?.mapping ?? system; if (!Object.keys(mappingDict[serviceId]["system"]).includes(systemType)) { mappingDict[serviceId]["system"][system] = systemType; } -- GitLab