mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-30 23:28:45 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -334,7 +334,9 @@ export const AddUserPermissions = ({ userId }: Props) => {
|
|||||||
)}
|
)}
|
||||||
<div className="grid md:grid-cols-2 gap-4">
|
<div className="grid md:grid-cols-2 gap-4">
|
||||||
{projects?.map((item, index) => {
|
{projects?.map((item, index) => {
|
||||||
const applications = item.environments.flatMap(env => extractServices(env));
|
const applications = item.environments.flatMap((env) =>
|
||||||
|
extractServices(env),
|
||||||
|
);
|
||||||
return (
|
return (
|
||||||
<FormField
|
<FormField
|
||||||
key={`project-${index}`}
|
key={`project-${index}`}
|
||||||
|
|||||||
@@ -28,7 +28,10 @@ import { api } from "@/utils/api";
|
|||||||
|
|
||||||
type Project = Awaited<ReturnType<typeof findProjectById>>;
|
type Project = Awaited<ReturnType<typeof findProjectById>>;
|
||||||
|
|
||||||
type Environment = Omit<Awaited<ReturnType<typeof findEnvironmentById>>, "project"> ;
|
type Environment = Omit<
|
||||||
|
Awaited<ReturnType<typeof findEnvironmentById>>,
|
||||||
|
"project"
|
||||||
|
>;
|
||||||
|
|
||||||
export type Services = {
|
export type Services = {
|
||||||
appName: string;
|
appName: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user