From 819ac7cbee0121011c689e32f752ac903df7a77a Mon Sep 17 00:00:00 2001
From: IhatemyISP <1625407+ihatemyisp@users.noreply.github.com>
Date: Sat, 28 Sep 2024 12:18:57 -0400
Subject: [PATCH] Change moonraker standby output
---
src/widgets/moonraker/component.jsx | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/widgets/moonraker/component.jsx b/src/widgets/moonraker/component.jsx
index 78332135..87280053 100644
--- a/src/widgets/moonraker/component.jsx
+++ b/src/widgets/moonraker/component.jsx
@@ -37,6 +37,16 @@ export default function Component({ service }) {
const printStatsInfo = printStats.result.status.print_stats.info ?? {};
const { current_layer: currentLayer = "-", total_layer: totalLayer = "-" } = printStatsInfo;
+ if (printStats.result.status.print_stats.state === "standby") {
+ return (
+
+
+
+
+
+ );
+ }
+
return (
@@ -47,4 +57,5 @@ export default function Component({ service }) {
);
+
}