From a85c9a0df48302ecdc06eaf4c6941e1edfd45b0a Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Thu, 7 May 2026 21:43:13 +0200 Subject: [PATCH] Fix collector warm-up and add enable toggle to MachineEditor --- frontend/src/pages/Settings.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx index 8e1be6d..2cd0b62 100644 --- a/frontend/src/pages/Settings.tsx +++ b/frontend/src/pages/Settings.tsx @@ -14,6 +14,7 @@ import { Grid, Stack, MenuItem, + Switch, Tab, TextField, Typography, @@ -185,12 +186,20 @@ function MachineEditor({ /> - + setDraft((current) => ({ + ...current, + enabled: e.target.checked, + })) + } + /> + } + label={draft.enabled ? "Enabled" : "Disabled"} + sx={{ ml: 0 }} />