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
commit 3320e21958
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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