mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 16:41:02 +08:00
Fix notifications dropdown not showing
This commit is contained in:
parent
8d26d2ee8f
commit
d4a333e2b8
8
framework/core/js/forum/dist/app.js
vendored
8
framework/core/js/forum/dist/app.js
vendored
|
@ -23961,13 +23961,6 @@ System.register('flarum/components/NotificationsDropdown', ['flarum/components/D
|
|||
value: function init() {
|
||||
babelHelpers.get(Object.getPrototypeOf(NotificationsDropdown.prototype), 'init', this).call(this);
|
||||
|
||||
/**
|
||||
* Whether or not the notifications dropdown is visible.
|
||||
*
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.showing = false;
|
||||
|
||||
this.list = new NotificationList();
|
||||
}
|
||||
}, {
|
||||
|
@ -24013,7 +24006,6 @@ System.register('flarum/components/NotificationsDropdown', ['flarum/components/D
|
|||
if (app.drawer.isOpen()) {
|
||||
this.goToRoute();
|
||||
} else {
|
||||
this.showing = true;
|
||||
this.list.load();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user