diff --git a/src/widgets/octoprint/component.jsx b/src/widgets/octoprint/component.jsx index ce87548e1..ca006d72c 100644 --- a/src/widgets/octoprint/component.jsx +++ b/src/widgets/octoprint/component.jsx @@ -8,6 +8,12 @@ export default function Component({ service }) { const { data: printerStats, error: printerStatsError } = useWidgetAPI(widget, "printer_stats"); const { data: jobStats, error: jobStatsError } = useWidgetAPI(widget, "job_stats"); + if (printerStatsError && jobStats) { + return + + + } + if (printerStatsError) { return ; }