From d203ba322a1c2c2569103edb19541615b4cbf2a9 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 4 Dec 2020 14:15:11 +0530 Subject: [PATCH] feat: hide notifications by default --- frappe/public/js/frappe/ui/notifications/notifications.js | 1 + frappe/public/js/frappe/ui/toolbar/navbar.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/ui/notifications/notifications.js b/frappe/public/js/frappe/ui/notifications/notifications.js index 704830d69a..65c6f55620 100644 --- a/frappe/public/js/frappe/ui/notifications/notifications.js +++ b/frappe/public/js/frappe/ui/notifications/notifications.js @@ -13,6 +13,7 @@ frappe.ui.Notifications = class Notifications { make() { this.dropdown = $('.navbar').find('.dropdown-notifications'); + this.dropdown.removeClass("hidden"); this.dropdown_list = this.dropdown.find('.notifications-list'); this.header_items = this.dropdown_list.find('.header-items'); this.header_actions = this.dropdown_list.find('.header-actions'); diff --git a/frappe/public/js/frappe/ui/toolbar/navbar.html b/frappe/public/js/frappe/ui/toolbar/navbar.html index 0c70514539..f919510877 100644 --- a/frappe/public/js/frappe/ui/toolbar/navbar.html +++ b/frappe/public/js/frappe/ui/toolbar/navbar.html @@ -22,7 +22,7 @@