From 9c565656b1adc76a35b431de9c219abae835a166 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 20 Jan 2026 16:33:42 +0100 Subject: [PATCH] feat(dashboard): hide builder section for Docker source type - Added logic to conditionally hide the builder section when the Docker provider is selected, improving user experience by reducing unnecessary UI elements. --- apps/dokploy/components/dashboard/application/build/show.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/dokploy/components/dashboard/application/build/show.tsx b/apps/dokploy/components/dashboard/application/build/show.tsx index 3dd030c4e..7f92157f2 100644 --- a/apps/dokploy/components/dashboard/application/build/show.tsx +++ b/apps/dokploy/components/dashboard/application/build/show.tsx @@ -207,6 +207,11 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => { } }, [data, form]); + // Hide builder section when Docker provider is selected + if (data?.sourceType === "docker") { + return null; + } + const onSubmit = async (data: AddTemplate) => { await mutateAsync({ applicationId,