mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-18 18:05:18 +00:00
refactor(cluster-settings): update dialog content and improve layout in swarm settings component
This commit is contained in:
+1
-3
@@ -102,8 +102,6 @@ export const ShowClusterSettings = ({ id, type }: Props) => {
|
||||
}
|
||||
}, [form, form.reset, form.formState.isSubmitSuccessful, data?.command]);
|
||||
|
||||
console.log(form.formState.errors);
|
||||
|
||||
const onSubmit = async (data: AddCommand) => {
|
||||
await mutateAsync({
|
||||
applicationId: id || "",
|
||||
@@ -137,7 +135,7 @@ export const ShowClusterSettings = ({ id, type }: Props) => {
|
||||
<div>
|
||||
<CardTitle className="text-xl">Cluster Settings</CardTitle>
|
||||
<CardDescription>
|
||||
Add the registry and the replicas of the application
|
||||
Modify swarm settings for the service.
|
||||
</CardDescription>
|
||||
</div>
|
||||
<AddSwarmSettings id={id} type={type} />
|
||||
|
||||
Reference in New Issue
Block a user