Fix: Make sure notification skip for achieve tasks

https://github.com/donetick/donetick/issues/695
This commit is contained in:
Mo Tarbin
2026-06-27 22:19:12 -04:00
parent 0da9c7f965
commit 878031cae8

View File

@@ -190,7 +190,11 @@ const scheduleChoreNotification = async (
for (let i = 0; i < chores.length; i++) {
const chore = chores[i]
try {
if (chore.notification === false || chore.nextDueDate === null) {
if (
chore.notification === false ||
chore.nextDueDate === null ||
chore.isActive === false
) {
continue
}
scheduleNotificationFromTemplate(