Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/25767ba3c7e00e9ea66fd2d9615a0ccef6b53635 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fix: moonraker widget error when not printing ()

pull/2474/head
shamoon 1 year ago committed by GitHub
parent bd6f24d82a
commit 25767ba3c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,12 +34,8 @@ export default function Component({ service }) {
);
}
let currentLayer = "-";
let totalLayer = "-";
if (printStats.result.status.print_stats.info.total_layer !== null) {
currentLayer = printStats.result.status.print_stats.info.current_layer;
totalLayer = printStats.result.status.print_stats.info.total_layer;
}
const printStatsInfo = printStats.result.status.print_stats.info ?? {};
const { current_layer: currentLayer = "-", total_layer: totalLayer = "-" } = printStatsInfo;
return (
<Container service={service}>

Loading…
Cancel
Save