diff --git a/src/widgets/octoprint/component.jsx b/src/widgets/octoprint/component.jsx index 7d3d5a1d7..ce87548e1 100644 --- a/src/widgets/octoprint/component.jsx +++ b/src/widgets/octoprint/component.jsx @@ -31,7 +31,7 @@ export default function Component({ service }) { const printingStateFalgs = ["Printing", "Paused", "Pausing", "Resuming"]; if (printingStateFalgs.includes(state)) { - const { completion } = jobStats.progress; + const { completion } = jobStats?.progress ?? undefined; if (!jobStats || !completion) { return (