[Notifications] Only enable menu if there are notifications
This commit is contained in:
		| @@ -111,10 +111,12 @@ class Notifier implements Subscribable { | ||||
|  | ||||
|     openNotificationMenu () { | ||||
|         // Show all notifications that have not been cleared | ||||
|         this.menuOpen = true; | ||||
|         this.notifications.forEach( ( _, id ) => { | ||||
|             this.show( id ); | ||||
|         } ) | ||||
|         if ( this.notifications.size > 0 ) { | ||||
|             this.menuOpen = true; | ||||
|             this.notifications.forEach( ( _, id ) => { | ||||
|                 this.show( id ); | ||||
|             } ) | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     hideNotifications () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user