mirror of
https://github.com/flarum/framework.git
synced 2025-06-20 17:21:21 +08:00
Fix notifications dropdown not showing
This commit is contained in:
@ -16,13 +16,6 @@ export default class NotificationsDropdown extends Dropdown {
|
||||
init() {
|
||||
super.init();
|
||||
|
||||
/**
|
||||
* Whether or not the notifications dropdown is visible.
|
||||
*
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.showing = false;
|
||||
|
||||
this.list = new NotificationList();
|
||||
}
|
||||
|
||||
@ -60,7 +53,6 @@ export default class NotificationsDropdown extends Dropdown {
|
||||
if (app.drawer.isOpen()) {
|
||||
this.goToRoute();
|
||||
} else {
|
||||
this.showing = true;
|
||||
this.list.load();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user