From 73e6a8edc5ab8a7fe98cb18a647579a925491c8e Mon Sep 17 00:00:00 2001 From: rcourtman Date: Tue, 6 Jan 2026 20:32:24 +0000 Subject: [PATCH] fix: Add missing UI for physical disk polling interval setting The previous commit (06261627) added backend support for configurable physical disk polling intervals but didn't include the UI to configure it. Adds a dropdown selector (5/15/30/60 minutes) that appears when physical disk monitoring is enabled. Related to #1007 --- .../src/components/Settings/NodeModal.tsx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/frontend-modern/src/components/Settings/NodeModal.tsx b/frontend-modern/src/components/Settings/NodeModal.tsx index ad4d42145..12d8e478e 100644 --- a/frontend-modern/src/components/Settings/NodeModal.tsx +++ b/frontend-modern/src/components/Settings/NodeModal.tsx @@ -352,7 +352,7 @@ export const NodeModal: Component = (props) => { props.onSave(nodeData); }; - const updateField = (field: string, value: string | boolean) => { + const updateField = (field: string, value: string | boolean | number) => { if (field === 'host' && typeof value === 'string') { setFormData((prev) => { const next = { ...prev, host: value }; @@ -2021,7 +2021,7 @@ export const NodeModal: Component = (props) => {

Monitor physical disk health (SMART)

- Polls disk SMART data every 5 minutes. This will spin up idle HDDs; leave disabled if you rely on drive standby. + This will spin up idle HDDs; leave disabled if you rely on drive standby.

= (props) => { } /> + +
+ + +
+