fix: Include enableProxmoxContainers in monitor update payload
The useUpdateMonitor hook was missing enableProxmoxContainers from the hardware-specific fields sent to the API, causing the setting to not persist when editing a monitor.
This commit is contained in:
1 parent
e9da602af6
commit
01084108b0
1 file changed
+1
@@ -386,6 +386,7 @@ export const useUpdateMonitor = () => {
|
|||||||
thresholds: monitor.thresholds,
|
thresholds: monitor.thresholds,
|
||||||
secret: monitor.secret,
|
secret: monitor.secret,
|
||||||
selectedDisks: monitor.selectedDisks,
|
selectedDisks: monitor.selectedDisks,
|
||||||
|
enableProxmoxContainers: monitor.enableProxmoxContainers,
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
await networkService.updateMonitor({
|
await networkService.updateMonitor({
|
||||||
|
|||||||
Reference in new issue
Block a user