From 2770f91a9baacc04768f630e913c9f511c2fc53c Mon Sep 17 00:00:00 2001 From: YannC Date: Thu, 25 Apr 2024 12:50:16 +0200 Subject: [PATCH] feat: changes related to execution page --- src/components/misc/ExecutionInformations.vue | 6 +++++- src/components/nodes/TaskNode.vue | 4 ++-- src/utils/VueFlowUtils.js | 8 ++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/misc/ExecutionInformations.vue b/src/components/misc/ExecutionInformations.vue index 6fbf9c0..103e188 100644 --- a/src/components/misc/ExecutionInformations.vue +++ b/src/components/misc/ExecutionInformations.vue @@ -22,7 +22,7 @@ return this.execution && this.execution.taskRunList ? this.execution.taskRunList : [] }, taskRuns() { - return this.taskRunList.filter(t => t.taskId === Utils.afterLastDot(this.task.id)) + return this.taskRunList.filter(t => t.taskId === Utils.afterLastDot(this.uid)) }, state() { if (!this.taskRuns) { @@ -89,6 +89,10 @@ task: { type: Object, default: null + }, + uid: { + type: String, + default: null } } } diff --git a/src/components/nodes/TaskNode.vue b/src/components/nodes/TaskNode.vue index caf7ea5..58a7e5a 100644 --- a/src/components/nodes/TaskNode.vue +++ b/src/components/nodes/TaskNode.vue @@ -14,7 +14,7 @@ @mouseleave="forwardEvent(EVENTS.MOUSE_LEAVE)" >