mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
add trailing comma's
This commit is contained in:
committed by
GitHub
parent
8f83ecb9ef
commit
847d6ecab1
@@ -128,7 +128,7 @@ export const AddApplication = ({ projectId, projectName }: Props) => {
|
|||||||
const val = e.target.value?.trim() || "";
|
const val = e.target.value?.trim() || "";
|
||||||
form.setValue(
|
form.setValue(
|
||||||
"appName",
|
"appName",
|
||||||
`${slug}-${val.toLowerCase().replaceAll(" ", "-")}`
|
`${slug}-${val.toLowerCase().replaceAll(" ", "-")}`,
|
||||||
);
|
);
|
||||||
field.onChange(val);
|
field.onChange(val);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ export const AddCompose = ({ projectId, projectName }: Props) => {
|
|||||||
const val = e.target.value?.trim() || "";
|
const val = e.target.value?.trim() || "";
|
||||||
form.setValue(
|
form.setValue(
|
||||||
"appName",
|
"appName",
|
||||||
`${slug}-${val.toLowerCase()}`
|
`${slug}-${val.toLowerCase()}`,
|
||||||
);
|
);
|
||||||
field.onChange(val);
|
field.onChange(val);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ export const AddDatabase = ({ projectId, projectName }: Props) => {
|
|||||||
const val = e.target.value?.trim() || "";
|
const val = e.target.value?.trim() || "";
|
||||||
form.setValue(
|
form.setValue(
|
||||||
"appName",
|
"appName",
|
||||||
`${slug}-${val.toLowerCase()}`
|
`${slug}-${val.toLowerCase()}`,
|
||||||
);
|
);
|
||||||
field.onChange(val);
|
field.onChange(val);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user