Skip to content

Scheduling infrastructure for absolutely everyone.

Updates deprecated nonempty

zomars49805054bab1
diff --git a/packages/features/ee/workflows/components/NewWorkflowButton.tsx b/packages/features/ee/workflows/components/NewWorkflowButton.tsx
index 8b4d53a0980..8f12ded5832 100644
--- a/packages/features/ee/workflows/components/NewWorkflowButton.tsx
+++ b/packages/features/ee/workflows/components/NewWorkflowButton.tsx
@@ -43,7 +43,7 @@ export function NewWorkflowButton() {
const timeUnitOptions = getWorkflowTimeUnitOptions(t);
const formSchema = z.object({
- name: z.string().nonempty(),
+ name: z.string().min(1),
trigger: z.enum(WORKFLOW_TRIGGER_EVENTS),
action: z.enum(WORKFLOW_ACTIONS),
time: z.number().min(1).optional(),