Skip to content

Commit

Permalink
fix(maintenance): fix filament trigger for maintenance entries (#1941)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored Jul 14, 2024
1 parent 7a877b2 commit 70a739f
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 @@ -24,7 +24,7 @@ export const getters: GetterTree<GuiMaintenanceState, any> = {
if (entry.reminder.type === null || entry.end_time !== null) return false

if (entry.reminder.filament.bool) {
const end = entry.start_filament + (entry.reminder.filament.value ?? 0)
const end = entry.start_filament + (entry.reminder.filament.value ?? 0) * 1000

if (end <= currentTotalFilamentUsed) return true
}
Expand Down

0 comments on commit 70a739f

Please sign in to comment.