realized that 'pausing' and 'resuming' are also states while printing
This commit is contained in:
1 parent
047f7af99a
commit
365783204a
1 file changed
+3
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user