diff --git a/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx b/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx index d68e23b92..985e130f2 100644 --- a/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx +++ b/apps/dokploy/components/dashboard/settings/cluster/registry/handle-registry.tsx @@ -127,7 +127,10 @@ export const HandleRegistry = ({ registryId }: Props) => { AddRegistrySchema.refine( (data) => { // When creating a new registry, password is required - if (!data.isEditing && (!data.password || data.password.length === 0)) { + if ( + !data.isEditing && + (!data.password || data.password.length === 0) + ) { return false; } return true; @@ -285,12 +288,11 @@ export const HandleRegistry = ({ registryId }: Props) => { name="password" render={({ field }) => ( - - Password{registryId && " (Optional)"} - + Password{registryId && " (Optional)"} {registryId && ( - Leave blank to keep existing password. Enter new password to test or update it. + Leave blank to keep existing password. Enter new + password to test or update it. )}