fix(Notifications): user check for events (#8647)
This commit is contained in:
parent
497c5faee2
commit
3d3bd1cbcb
1 changed files with 2 additions and 1 deletions
|
|
@ -53,7 +53,8 @@ frappe.ui.Notifications = class Notifications {
|
|||
fields: ['name', 'subject', 'starts_on'],
|
||||
filters: [
|
||||
{'starts_on': ['between', today, tomorrow]},
|
||||
{'ends_on': ['>=', frappe.datetime.now_datetime()]}
|
||||
{'ends_on': ['>=', frappe.datetime.now_datetime()]},
|
||||
{'owner': frappe.session.user}
|
||||
]
|
||||
}).then(event_list => {
|
||||
this.render_events_html(event_list);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue