Merge pull request #830 from Dokploy/815-edit-volumes-can-not-get-right-mount-path

fix: show mount path when is not compose
This commit is contained in:
Mauricio Siu
2024-12-07 13:57:21 -06:00
committed by GitHub

View File

@@ -119,7 +119,7 @@ export const UpdateVolume = ({
} else if (typeForm === "file") { } else if (typeForm === "file") {
form.reset({ form.reset({
content: data.content || "", content: data.content || "",
mountPath: "/", mountPath: serviceType === "compose" ? "/" : data.mountPath,
filePath: data.filePath || "", filePath: data.filePath || "",
type: "file", type: "file",
}); });