fix: show mount path when is not compose

This commit is contained in:
Mauricio Siu
2024-12-07 13:55:00 -06:00
parent a53daed434
commit 2960d81829

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",
}); });