diff --git a/apps/dokploy/components/dashboard/settings/web-server/update-webserver.tsx b/apps/dokploy/components/dashboard/settings/web-server/update-webserver.tsx index 6abafb6a2..abeba47c4 100644 --- a/apps/dokploy/components/dashboard/settings/web-server/update-webserver.tsx +++ b/apps/dokploy/components/dashboard/settings/web-server/update-webserver.tsx @@ -38,7 +38,10 @@ type ModalState = "idle" | "checking" | "results" | "updating"; const ServiceStatusItem = ({ name, service, -}: { name: string; service: ServiceStatus }) => ( +}: { + name: string; + service: ServiceStatus; +}) => (
{service.status === "healthy" ? ( @@ -47,9 +50,7 @@ const ServiceStatusItem = ({ )} {name} {service.status === "unhealthy" && service.message && ( - - — {service.message} - + — {service.message} )}
); @@ -153,9 +154,7 @@ export const UpdateWebServer = () => { {modalState === "idle" && "Are you absolutely sure?"} {modalState === "checking" && "Verifying Services..."} {modalState === "results" && - (allHealthy - ? "Ready to Update" - : "Service Issues Detected")} + (allHealthy ? "Ready to Update" : "Service Issues Detected")} {modalState === "updating" && "Server update in progress"} @@ -208,8 +207,7 @@ export const UpdateWebServer = () => { {allHealthy && ( - All services are running. You can proceed with the - update. + All services are running. You can proceed with the update. )} @@ -236,9 +234,7 @@ export const UpdateWebServer = () => { {modalState === "idle" && ( - - Cancel - + Cancel