Raise threshold for workflow insertion confirmation to 10 steps

This commit is contained in:
Dannon Baker
2022-08-09 10:50:40 -04:00
parent f19e19c8f2
commit 31c38260cc
@@ -16,7 +16,8 @@ export function copyIntoWorkflow(workflow, id = null, stepCount = null) {
workflow.onInsertedStateMessages(insertedStateMessages);
});
};
if (stepCount < 2) {
if (stepCount < 10) {
// If it's less than 10 steps, just do it.
_copy_into_workflow_ajax();
} else {
// but don't ruin the workflow if it's a ton of steps.