From 70a739f0656e8abe91aa81dab6e9a08b835a7395 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 14 Jul 2024 10:35:43 +0200 Subject: [PATCH] fix(maintenance): fix filament trigger for maintenance entries (#1941) --- src/store/gui/maintenance/getters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/gui/maintenance/getters.ts b/src/store/gui/maintenance/getters.ts index 2801a5e67..497316987 100644 --- a/src/store/gui/maintenance/getters.ts +++ b/src/store/gui/maintenance/getters.ts @@ -24,7 +24,7 @@ export const getters: GetterTree = { 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 }