project description

This commit is contained in:
2026-03-10 20:57:09 +01:00
parent 61e016d829
commit bf2085fcce
6 changed files with 18 additions and 4 deletions

View File

@@ -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",