From 990b1741106373e439fce07dc0afe303c1694aca Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 2 Sep 2025 05:24:22 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../components/dashboard/settings/users/add-permissions.tsx | 4 +++- apps/dokploy/pages/dashboard/project/[projectId].tsx | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/users/add-permissions.tsx b/apps/dokploy/components/dashboard/settings/users/add-permissions.tsx index 54ac35f63..ae490a582 100644 --- a/apps/dokploy/components/dashboard/settings/users/add-permissions.tsx +++ b/apps/dokploy/components/dashboard/settings/users/add-permissions.tsx @@ -334,7 +334,9 @@ export const AddUserPermissions = ({ userId }: Props) => { )}
{projects?.map((item, index) => { - const applications = item.environments.flatMap(env => extractServices(env)); + const applications = item.environments.flatMap((env) => + extractServices(env), + ); return ( >; -type Environment = Omit>, "project"> ; +type Environment = Omit< + Awaited>, + "project" +>; export type Services = { appName: string;