From 6a915760f54be389a65a9062149a93ac8555f01f Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 13 Jul 2024 23:00:51 +0200 Subject: [PATCH] fix(maintenance): fix filament trigger for maintenance entries Signed-off-by: Stefan Dej --- 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 }