Skip to content

Commit

Permalink
fix(maintenance): fix overdue validation from printtime based entries
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed May 3, 2024
1 parent d1344f2 commit be3995c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/gui/maintenance/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const getters: GetterTree<GuiMaintenanceState, any> = {
}

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
}
Expand Down

0 comments on commit be3995c

Please sign in to comment.