fix: app url not required (#2130)

This commit is contained in:
Meier Lukas
2025-01-26 21:25:57 +01:00
committed by GitHub
parent 2bb44e1666
commit b38de29a88
2 changed files with 16 additions and 8 deletions

View File

@@ -25,11 +25,11 @@ export const AppForm = (props: AppFormProps) => {
const t = useI18n();
const form = useZodForm(validation.app.manage, {
initialValues: initialValues ?? {
name: "",
description: "",
iconUrl: "",
href: "",
initialValues: {
name: initialValues?.name ?? "",
description: initialValues?.description ?? "",
iconUrl: initialValues?.iconUrl ?? "",
href: initialValues?.href ?? "",
},
});