Skip to content

Commit

Permalink
fix(maintenance): fix filament trigger for maintenance entries
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Jul 13, 2024
1 parent 46e79c0 commit 6a91576
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 6a91576

Please sign in to comment.