Skip to content

Commit

Permalink
Set from_tool_form: true when saving new workflow
Browse files Browse the repository at this point in the history
Fixes #17963 and #17970
  • Loading branch information
mvdbeek committed Apr 11, 2024
1 parent e2d737f commit 0ec987f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Workflow/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0ec987f

Please sign in to comment.