From be3995cd297289f909b27dd4e53f883d416e0128 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 3 May 2024 19:04:17 +0200 Subject: [PATCH] fix(maintenance): fix overdue validation from printtime based entries Signed-off-by: Stefan Dej --- src/store/gui/maintenance/getters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/gui/maintenance/getters.ts b/src/store/gui/maintenance/getters.ts index 17f64b6c2..2801a5e67 100644 --- a/src/store/gui/maintenance/getters.ts +++ b/src/store/gui/maintenance/getters.ts @@ -30,7 +30,7 @@ export const getters: GetterTree = { } if (entry.reminder.printtime.bool) { - const end = entry.start_printtime + (entry.reminder.printtime.value ?? 0) + const end = entry.start_printtime + (entry.reminder.printtime.value ?? 0) * 3600 if (end <= currentTotalPrintTime) return true }