From acf385a1f351006cf56bf72650b8b91b32aba551 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 04:08:36 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../settings/cluster/registry/handle-registry.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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. )}