mirror of
https://github.com/flarum/core.git
synced 2025-05-11 01:45:29 +02: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() {
|
value: function init() {
|
||||||
babelHelpers.get(Object.getPrototypeOf(NotificationsDropdown.prototype), 'init', this).call(this);
|
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();
|
this.list = new NotificationList();
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
@ -24013,7 +24006,6 @@ System.register('flarum/components/NotificationsDropdown', ['flarum/components/D
|
|||||||
if (app.drawer.isOpen()) {
|
if (app.drawer.isOpen()) {
|
||||||
this.goToRoute();
|
this.goToRoute();
|
||||||
} else {
|
} else {
|
||||||
this.showing = true;
|
|
||||||
this.list.load();
|
this.list.load();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,13 +16,6 @@ export default class NotificationsDropdown extends Dropdown {
|
|||||||
init() {
|
init() {
|
||||||
super.init();
|
super.init();
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether or not the notifications dropdown is visible.
|
|
||||||
*
|
|
||||||
* @type {Boolean}
|
|
||||||
*/
|
|
||||||
this.showing = false;
|
|
||||||
|
|
||||||
this.list = new NotificationList();
|
this.list = new NotificationList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,7 +53,6 @@ export default class NotificationsDropdown extends Dropdown {
|
|||||||
if (app.drawer.isOpen()) {
|
if (app.drawer.isOpen()) {
|
||||||
this.goToRoute();
|
this.goToRoute();
|
||||||
} else {
|
} else {
|
||||||
this.showing = true;
|
|
||||||
this.list.load();
|
this.list.load();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user