mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
realized that 'pausing' and 'resuming' are also states while printing
This commit is contained in:
@@ -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