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);
|
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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user