forked from Shinonome/dots-hyprland
notifications: discard dead notif on action
This commit is contained in:
@@ -217,8 +217,10 @@ Singleton {
|
||||
const action = notifServerNotif.actions.find((action) => action.identifier === notifIdentifier);
|
||||
action.invoke()
|
||||
}
|
||||
// else console.log("Notification not found in server: " + id)
|
||||
// root.discard(id);
|
||||
else {
|
||||
console.log("Notification not found in server: " + id)
|
||||
root.discardNotification(id);
|
||||
}
|
||||
}
|
||||
|
||||
function triggerListChange() {
|
||||
|
||||
Reference in New Issue
Block a user