From 5816564ee717b659bbc51c1ff6fefd24c6012d3b Mon Sep 17 00:00:00 2001 From: dcore94 Date: Wed, 29 Mar 2023 16:24:42 +0200 Subject: [PATCH] added infras info to executions --- ccp/js/executionhistorycontroller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index f2ca7c4..a9bae8f 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -450,8 +450,8 @@ class CCPExecutionHistory extends HTMLElement { target : "span[name=infrastructure]", apply : (e,d)=>{ e.textContent = d.infrastructure - const t = infra.type.match(/docker/i) ? "docker" : null - const t2 = !t && infra.type.match(/lxd/i) ? "lxd" : t + const t = d.infrastructuretype.match(/docker/i) ? "docker" : null + const t2 = !t && d.infrastructuretype.match(/lxd/i) ? "lxd" : t e.classList.add(t2) } },