fix(maintenance): fix filament trigger for maintenance entries ()

This commit is contained in:
Stefan Dej
2024-07-14 10:35:43 +02:00
committed by GitHub
parent 7a877b2657
commit 70a739f065

@@ -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
}