DEV: Add additional arg to appEvents triggered on notification click (#25317)
This commit is contained in:
parent
3bd88d7586
commit
07a0c6c637
|
@ -82,7 +82,10 @@ export default class UserMenuNotificationItem extends UserMenuBaseItem {
|
|||
|
||||
onClick() {
|
||||
this.renderDirector.onClick?.();
|
||||
this.appEvents.trigger("user-menu:notification-click", this.notification);
|
||||
this.appEvents.trigger("user-menu:notification-click", {
|
||||
notification: this.notification,
|
||||
href: this.linkHref,
|
||||
});
|
||||
|
||||
if (!this.notification.read) {
|
||||
this.notification.set("read", true);
|
||||
|
|
Loading…
Reference in New Issue