diff --git a/frappe/public/js/frappe/ui/toolbar/energy_points_notifications.js b/frappe/public/js/frappe/ui/toolbar/energy_points_notifications.js index 6092241d05..5de5b7d894 100644 --- a/frappe/public/js/frappe/ui/toolbar/energy_points_notifications.js +++ b/frappe/public/js/frappe/ui/toolbar/energy_points_notifications.js @@ -92,6 +92,7 @@ frappe.ui.EnergyPointsNotifications = class { `; let body_html = ''; + let view_full_log_html = ''; if (this.dropdown_items.length) { let date_range= this.get_energy_points_date_range(this.dropdown_items[0].creation); @@ -105,12 +106,12 @@ frappe.ui.EnergyPointsNotifications = class { let item_html = this.get_dropdown_item_html(field); if (item_html) body_html += item_html; }); + view_full_log_html = `