notifications: discard dead notif on action

This commit is contained in:
end-4
2025-06-17 09:51:06 +02:00
parent 265d3fdbdc
commit c725284acb
@@ -217,8 +217,10 @@ Singleton {
const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier); const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier);
action.invoke() action.invoke()
} }
// else console.log("Notification not found in server: " + id) else {
// root.discard(id); console.log("Notification not found in server: " + id)
root.discardNotification(id);
}
} }
function triggerListChange() { function triggerListChange() {