mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 03:26:17 +00:00
Update virtual-machines.tsx
This commit is contained in:
@@ -577,17 +577,16 @@ export function VirtualMachines() {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
body: JSON.stringify({
|
||||
description: encodeURIComponent(editedNotes),
|
||||
description: editedNotes, // Send as-is, pvesh will handle encoding
|
||||
}),
|
||||
})
|
||||
|
||||
if (response.ok) {
|
||||
// Update local state
|
||||
setVMDetails({
|
||||
...vmDetails,
|
||||
config: {
|
||||
...vmDetails.config,
|
||||
description: encodeURIComponent(editedNotes),
|
||||
description: editedNotes, // Store unencoded
|
||||
},
|
||||
})
|
||||
setIsEditingNotes(false)
|
||||
|
||||
Reference in New Issue
Block a user