Updates deprecated nonempty

This commit is contained in:
zomars committed 2022-10-10 18:28:48 -06:00
1 parent e2362d8f2a
commit 49805054ba
1 file changed
+1 -1
@@ -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(),