Merge branch 'benphelps:main' into main
This commit is contained in:
commit
d2f0d90c3c
@ -31,7 +31,7 @@ export default function Component({ service }) {
|
||||
const printingStateFalgs = ["Printing", "Paused", "Pausing", "Resuming"];
|
||||
|
||||
if (printingStateFalgs.includes(state)) {
|
||||
const { completion } = jobStats.progress;
|
||||
const { completion } = jobStats?.progress ?? undefined;
|
||||
|
||||
if (!jobStats || !completion) {
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user