realized that 'pausing' and 'resuming' are also states while printing
This commit is contained in:
parent
047f7af99a
commit
365783204a
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue