Skip to content

Commit

Permalink
fix: only create a schedule after flow change if schedule is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Oct 21, 2022
1 parent ac84b76 commit 4ce3e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/FlowBuilder.svelte
Expand Up @@ -110,7 +110,7 @@
requestBody: { enabled }
})
}
} else {
} else if (enabled) {
await createSchedule(flow.path)
}
}
Expand Down

0 comments on commit 4ce3e07

Please sign in to comment.