feat: hide notifications by default
This commit is contained in:
parent
d0ac0f8386
commit
d203ba322a
2 changed files with 2 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue