refactor(cluster-settings): update dialog content and improve layout in swarm settings component

This commit is contained in:
Mauricio Siu
2025-08-03 16:45:07 -06:00
parent 3d10d48425
commit 0755f28307
2 changed files with 14 additions and 16 deletions
@@ -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} />