Bugfix: Added "deleted" as Notification State if Event deleteDate is set to

This commit is contained in:
2025-11-06 20:08:08 +00:00
parent c703911f85
commit 2f805c0772
2 changed files with 6 additions and 5 deletions

View File

@@ -102,8 +102,9 @@ async function events_check_for_notification() {
await sendNotification( ev.get_title(), ev.get_body(), notificationOptions );
if ( ev.notification == "removed" ) {
ev.set_deleted( db );
} else {
ev.set_notification("done", db);
}
ev.set_notification("done", db);
}
}