From 6faac939dbf4d7dc1bb93a5fab4782efa0dd961d Mon Sep 17 00:00:00 2001 From: Ludovic DEHON Date: Fri, 20 Jan 2023 20:51:54 +0100 Subject: [PATCH] fix(ui): after restart, execution was not refreshed --- ui/src/components/Tabs.vue | 2 +- ui/src/components/executions/ExecutionRoot.vue | 1 + ui/src/components/executions/Logs.vue | 5 ++++- ui/src/components/executions/Overview.vue | 4 +--- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ui/src/components/Tabs.vue b/ui/src/components/Tabs.vue index 0fbd2efaca9..9e901ae3b75 100644 --- a/ui/src/components/Tabs.vue +++ b/ui/src/components/Tabs.vue @@ -17,7 +17,7 @@ - + @@ -83,6 +83,9 @@ } }, methods: { + forwardEvent(type, event) { + this.$emit(type, event); + }, prevent(event) { event.preventDefault(); }, diff --git a/ui/src/components/executions/Overview.vue b/ui/src/components/executions/Overview.vue index de1e2e891d5..3a29454e69d 100644 --- a/ui/src/components/executions/Overview.vue +++ b/ui/src/components/executions/Overview.vue @@ -80,11 +80,9 @@ emits: ["follow"], methods: { forwardEvent(type, event) { + console.log("forwardEvent", type); this.$emit(type, event); }, - restart() { - this.$emit("follow"); - }, stop() { if (!this.execution || State.isRunning(this.execution.state.current)) { return new Date().toISOString(true)