From 9e8c3f15250dea4534bb1517fdfc694bbfa02be0 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 5 Jan 2026 16:23:54 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../__test__/env/environment-access-fallback.test.ts | 1 - apps/dokploy/components/dashboard/projects/show.tsx | 5 ++--- .../project/[projectId]/environment/[environmentId].tsx | 7 ++++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/dokploy/__test__/env/environment-access-fallback.test.ts b/apps/dokploy/__test__/env/environment-access-fallback.test.ts index 1a19dd813..a4b56393a 100644 --- a/apps/dokploy/__test__/env/environment-access-fallback.test.ts +++ b/apps/dokploy/__test__/env/environment-access-fallback.test.ts @@ -292,4 +292,3 @@ describe("Environment Access Fallback", () => { }); }); }); - diff --git a/apps/dokploy/components/dashboard/projects/show.tsx b/apps/dokploy/components/dashboard/projects/show.tsx index 6dcff247a..eb1ff5ab6 100644 --- a/apps/dokploy/components/dashboard/projects/show.tsx +++ b/apps/dokploy/components/dashboard/projects/show.tsx @@ -290,9 +290,8 @@ export const ShowProjects = () => { // Find default environment from accessible environments, or fall back to first accessible environment const accessibleEnvironment = - project?.environments.find( - (env) => env.isDefault, - ) || project?.environments?.[0]; + project?.environments.find((env) => env.isDefault) || + project?.environments?.[0]; return (