feat: hide notifications by default

This commit is contained in:
Shivam Mishra 2020-12-04 14:15:11 +05:30
parent d0ac0f8386
commit d203ba322a
2 changed files with 2 additions and 1 deletions

View file

@ -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');

View file

@ -22,7 +22,7 @@
<ul class="navbar-nav">
<li class="nav-item dropdown dropdown-notifications dropdown-mobile">
<a
class="nav-link notifications-icon text-muted"
class="nav-link notifications-icon text-muted hidden"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="true"