diff --git a/frappe/public/js/frappe/ui/notifications/notifications.js b/frappe/public/js/frappe/ui/notifications/notifications.js index aa8d628d75..ef3d3c7cbe 100644 --- a/frappe/public/js/frappe/ui/notifications/notifications.js +++ b/frappe/public/js/frappe/ui/notifications/notifications.js @@ -197,6 +197,18 @@ frappe.ui.Notifications = class Notifications { let new_item = this.dropdown_items[0]; let new_item_html = this.get_dropdown_item_html(new_item); $(new_item_html).prependTo(this.$dropdown_list.find('#notifications')); + this.change_activity_status(); + } + + change_activity_status() { + if (this.$dropdown_list.find('.activity-status')) { + this.$dropdown_list.find('.activity-status').replaceWith( + `