diff --git a/dist/CNC/GRBL/index.html.gz b/dist/CNC/GRBL/index.html.gz index 85f0f8d65..7692807d0 100644 Binary files a/dist/CNC/GRBL/index.html.gz and b/dist/CNC/GRBL/index.html.gz differ diff --git a/dist/CNC/GRBLHal/index.html.gz b/dist/CNC/GRBLHal/index.html.gz index 1f3f88e1a..c2cddec7d 100644 Binary files a/dist/CNC/GRBLHal/index.html.gz and b/dist/CNC/GRBLHal/index.html.gz differ diff --git a/dist/Plotter/HP-GL/index.html.gz b/dist/Plotter/HP-GL/index.html.gz index 54b00f63c..4deac09f9 100644 Binary files a/dist/Plotter/HP-GL/index.html.gz and b/dist/Plotter/HP-GL/index.html.gz differ diff --git a/dist/Printer3D/Marlin-embedded/index.html.gz b/dist/Printer3D/Marlin-embedded/index.html.gz index 20f8c7836..e85d90d25 100644 Binary files a/dist/Printer3D/Marlin-embedded/index.html.gz and b/dist/Printer3D/Marlin-embedded/index.html.gz differ diff --git a/dist/Printer3D/Marlin/index.html.gz b/dist/Printer3D/Marlin/index.html.gz index 23de4c780..7e4eaa22e 100644 Binary files a/dist/Printer3D/Marlin/index.html.gz and b/dist/Printer3D/Marlin/index.html.gz differ diff --git a/dist/Printer3D/Repetier/index.html.gz b/dist/Printer3D/Repetier/index.html.gz index 052e6ed80..40c2787bf 100644 Binary files a/dist/Printer3D/Repetier/index.html.gz and b/dist/Printer3D/Repetier/index.html.gz differ diff --git a/dist/Printer3D/Smoothieware/index.html.gz b/dist/Printer3D/Smoothieware/index.html.gz index 607936f1c..4cda1d36b 100644 Binary files a/dist/Printer3D/Smoothieware/index.html.gz and b/dist/Printer3D/Smoothieware/index.html.gz differ diff --git a/dist/SandTable/GRBL/index.html.gz b/dist/SandTable/GRBL/index.html.gz index 2064f1ae8..621cebdeb 100644 Binary files a/dist/SandTable/GRBL/index.html.gz and b/dist/SandTable/GRBL/index.html.gz differ diff --git a/src/components/App/version.js b/src/components/App/version.js index 529e7828a..0f42c3fe9 100644 --- a/src/components/App/version.js +++ b/src/components/App/version.js @@ -17,7 +17,7 @@ */ import { h } from "preact" import { webUIbuild } from "../../targets" -export const webUIversion = "3.0.0-a73" +export const webUIversion = "3.0.0-a74" export const Esp3dVersion = () => ( {webUIversion}.{webUIbuild} diff --git a/src/components/ExtraContent/extraContentItem.js b/src/components/ExtraContent/extraContentItem.js index 062c6c140..8e9e10537 100644 --- a/src/components/ExtraContent/extraContentItem.js +++ b/src/components/ExtraContent/extraContentItem.js @@ -175,8 +175,8 @@ const ExtraContentItem = ({ }, [id, loadContent]) useEffect(() => { - console.log("Updating refresh interval for " + id) if (refreshtime > 0 && (type === "camera" || type === "image") && visibilityState[id] && !isPaused) { + console.log("Updating refresh interval for " + id) if (!refreshIntervalRef.current){ console.log("Starting refresh interval for " + id+ " with refreshtime " + refreshtime) refreshIntervalRef.current = setInterval(loadContent, refreshtime) @@ -207,6 +207,10 @@ const ExtraContentItem = ({ const doc = iframeElement.contentWindow.document const body = doc.querySelector("body") + if (!body){ + console.error("body not found") + return + } body.classList.add("body-extension") const css = document.querySelectorAll("style") css.forEach((csstag) => { diff --git a/src/components/Panels/Status.js b/src/components/Panels/Status.js index b12cf2436..b4477a31c 100644 --- a/src/components/Panels/Status.js +++ b/src/components/Panels/Status.js @@ -142,8 +142,7 @@ const StatusControls = () => { )} {status.printState.printing && - status.printState.progress != - "NaN"( + status.printState.progress != "NaN" && (
{status.printState.progress}%