mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-16 08:55:18 +00:00
Merge pull request #3488 from Dokploy/feat/hide-builder-if-docker-provider-selected
feat(dashboard): hide builder section for Docker source type
This commit is contained in:
@@ -207,6 +207,11 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
|
|||||||
}
|
}
|
||||||
}, [data, form]);
|
}, [data, form]);
|
||||||
|
|
||||||
|
// Hide builder section when Docker provider is selected
|
||||||
|
if (data?.sourceType === "docker") {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
const onSubmit = async (data: AddTemplate) => {
|
const onSubmit = async (data: AddTemplate) => {
|
||||||
await mutateAsync({
|
await mutateAsync({
|
||||||
applicationId,
|
applicationId,
|
||||||
|
|||||||
Reference in New Issue
Block a user