From 0c08742a409d8711bffe8cc1ead292ce7d7c93a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Wed, 11 Sep 2024 15:58:27 +0200 Subject: [PATCH] Fix wrong sidebar config opened when pasting workflow steps --- client/web/workflow/src/components/WorkflowEditor.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/web/workflow/src/components/WorkflowEditor.vue b/client/web/workflow/src/components/WorkflowEditor.vue index 3adae5c31..4b4055f99 100644 --- a/client/web/workflow/src/components/WorkflowEditor.vue +++ b/client/web/workflow/src/components/WorkflowEditor.vue @@ -1599,8 +1599,10 @@ export default { }) if (lastVertexID) { - const vertex = this.vertices[lastVertexID] - this.sidebarReopen(vertex, vertex.config.kind) + this.$nextTick(() => { + const vertex = this.vertices[lastVertexID] + this.sidebarReopen(vertex, vertex.config.kind) + }) } } })