mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:53:27 +08:00
Fix notifications dropdown not showing
This commit is contained in:
parent
240aa9e83b
commit
fd44db407c
8
js/forum/dist/app.js
vendored
8
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…
x
Reference in New Issue
Block a user