From 33db616767fd8af5b3cc2f21ff7f1e5cf43d92a1 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 29 May 2023 22:16:32 +0530 Subject: [PATCH] fix: default status set for module form (#1160) --- apps/app/components/modules/form.tsx | 2 +- apps/app/components/modules/modal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app/components/modules/form.tsx b/apps/app/components/modules/form.tsx index d79748478..e94bc6d72 100644 --- a/apps/app/components/modules/form.tsx +++ b/apps/app/components/modules/form.tsx @@ -23,7 +23,7 @@ type Props = { const defaultValues: Partial = { name: "", description: "", - status: null, + status: "backlog", lead: null, members_list: [], }; diff --git a/apps/app/components/modules/modal.tsx b/apps/app/components/modules/modal.tsx index 02e23e138..69dcba34a 100644 --- a/apps/app/components/modules/modal.tsx +++ b/apps/app/components/modules/modal.tsx @@ -28,7 +28,7 @@ type Props = { const defaultValues: Partial = { name: "", description: "", - status: null, + status: "backlog", lead: null, members_list: [], };