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