fix(dokploy): add missing mount path in update volume

This commit is contained in:
Mauricio Siu
2024-11-01 09:53:21 -06:00
parent 95e53169b1
commit 3b197f3624

View File

@@ -119,7 +119,7 @@ export const UpdateVolume = ({
} else if (typeForm === "file") {
form.reset({
content: data.content || "",
mountPath: data.mountPath,
mountPath: "/",
filePath: data.filePath || "",
type: "file",
});
@@ -296,15 +296,13 @@ export const UpdateVolume = ({
)}
</div>
<DialogFooter>
<DialogClose>
<Button
isLoading={isLoading}
form="hook-form-update-volume"
type="submit"
>
Update
</Button>
</DialogClose>
<Button
isLoading={isLoading}
// form="hook-form-update-volume"
type="submit"
>
Update
</Button>
</DialogFooter>
</form>
</Form>