Skip to content

Commit

Permalink
fix(maintenance): fix overdue check from printtime based entries (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored May 3, 2024
1 parent a28e323 commit 512399f
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 512399f

Please sign in to comment.