project description
This commit is contained in:
@@ -23,6 +23,7 @@ export default function CreateUpdateProjectForm(params: { className?: string, en
|
||||
resolver: zodResolver(schemas.insert),
|
||||
defaultValues: {
|
||||
id: id ? id : crypto.randomUUID(),
|
||||
title: params.entity ? params.entity.title : "",
|
||||
description: params.entity ? params.entity.description : "",
|
||||
stackId: params.entity ? params.entity.stackId : stacksSuccess ? stacks?.at(0)?.id : "",
|
||||
releaseStatus: params.entity ? params.entity.releaseStatus : "unreleased",
|
||||
|
||||
Reference in New Issue
Block a user