realized that 'pausing' and 'resuming' are also states while printing

pull/834/head
williamwoldum 2 years ago
parent 047f7af99a
commit 365783204a

@ -32,7 +32,9 @@ export default function Component({ service }) {
);
}
if (state === "Printing" || state === "Paused") {
const printingStateFalgs = ["Printing", "Paused", "Pausing", "Resuming"];
if (printingStateFalgs.includes(state)) {
const { completion } = jobStats.progress;
if (!jobStats || !completion) {

Loading…
Cancel
Save