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.
This commit is contained in:
Mauricio Siu
2026-01-20 16:33:42 +01:00
parent 983c8d5e9e
commit 9c565656b1

View File

@@ -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,