From 0ec987faa111b52305933608141b7929190cd228 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 11 Apr 2024 19:17:35 +0200 Subject: [PATCH] Set from_tool_form: true when saving new workflow Fixes https://github.com/galaxyproject/galaxy/issues/17963 and https://github.com/galaxyproject/galaxy/issues/17970 --- client/src/components/Workflow/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Workflow/services.js b/client/src/components/Workflow/services.js index d354fda81826..ab0f1f4acaf2 100644 --- a/client/src/components/Workflow/services.js +++ b/client/src/components/Workflow/services.js @@ -32,7 +32,7 @@ export class Services { async createWorkflow(workflow) { const url = withPrefix("/api/workflows"); try { - const { data } = await axios.post(url, { workflow: toSimple(workflow.id, workflow) }); + const { data } = await axios.post(url, { workflow: toSimple(workflow.id, workflow), from_tool_form: true }); return data; } catch (e) { rethrowSimple(e);