Merge branch 'benphelps:main' into feature/mealie-widget

This commit is contained in:
joncrangle authored and GitHub committed 2023-08-11 15:10:16 -04:00
commit dc19ce4d38
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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 (