added default active status at create new project
This commit is contained in:
parent
9447178985
commit
58187db80a
@ -20,6 +20,9 @@ const ManageProjectInfo = ({ project, handleSubmitForm, onClose }) => {
|
|||||||
const [addressLength, setAddressLength] = useState(0);
|
const [addressLength, setAddressLength] = useState(0);
|
||||||
const maxAddressLength = 500;
|
const maxAddressLength = 500;
|
||||||
|
|
||||||
|
const ACTIVE_STATUS_ID = "b74da4c2-d07e-46f2-9919-e75e49b12731";
|
||||||
|
const DEFAULT_EMPTY_STATUS_ID = "00000000-0000-0000-0000-000000000000";
|
||||||
|
|
||||||
const projectSchema = z
|
const projectSchema = z
|
||||||
.object({
|
.object({
|
||||||
...(project?.id ? { id: z.string().optional() } : {}),
|
...(project?.id ? { id: z.string().optional() } : {}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user