From 6cfd858e134ebebcbdb5aff2db58a0602a2ac258 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Tue, 2 Mar 2021 11:21:31 +0100 Subject: [PATCH] Fix embedding subworkflow This broke in 88d7c4bb798d884b410213738f1bf21ae219070b. --- client/src/components/Workflow/Editor/Node.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Workflow/Editor/Node.vue b/client/src/components/Workflow/Editor/Node.vue index 1cbd9f3f31a..2392a623316 100644 --- a/client/src/components/Workflow/Editor/Node.vue +++ b/client/src/components/Workflow/Editor/Node.vue @@ -294,7 +294,7 @@ export default { }, setData(data) { this.config_form = data.config_form; - this.content_id = this.config_form?.id; + this.content_id = data.config_form?.id || data.content_id; this.tool_state = data.tool_state; this.errors = data.errors; this.annotation = data.annotation;