fix: remove dead PAUSED printer state checks (#447)

The printer only sends PAUSE via MQTT gcode_state, never PAUSED.
Removed all unreachable PAUSED comparisons from frontend (4 files)
and backend (2 files).
This commit is contained in:
maziggy
2026-02-19 09:42:11 +01:00
parent df83250ff8
commit cb3363733e
9 changed files with 17 additions and 16 deletions
@@ -137,7 +137,7 @@ export function EmbeddedCameraViewer({ printerId, printerName, viewerIndex = 0,
},
});
const isPrintingWithObjects = (status?.state === 'RUNNING' || status?.state === 'PAUSE' || status?.state === 'PAUSED') && (status?.printable_objects_count ?? 0) >= 2;
const isPrintingWithObjects = (status?.state === 'RUNNING' || status?.state === 'PAUSE') && (status?.printable_objects_count ?? 0) >= 2;
// Save state to localStorage (printer-specific)
useEffect(() => {