diff --git a/js/forum/src/components/NotificationList.js b/js/forum/src/components/NotificationList.js index fae4c430a..0b1b96679 100644 --- a/js/forum/src/components/NotificationList.js +++ b/js/forum/src/components/NotificationList.js @@ -18,8 +18,6 @@ export default class NotificationList extends Component { * @type {Boolean} */ this.loading = false; - - this.load(); } view() { diff --git a/js/forum/src/components/NotificationsDropdown.js b/js/forum/src/components/NotificationsDropdown.js index d009e7fe8..03fdefbfd 100644 --- a/js/forum/src/components/NotificationsDropdown.js +++ b/js/forum/src/components/NotificationsDropdown.js @@ -12,6 +12,8 @@ export default class NotificationsDropdown extends Component { * @type {Boolean} */ this.showing = false; + + this.list = new NotificationList(); } view() { @@ -28,7 +30,7 @@ export default class NotificationsDropdown extends Component { {app.trans('core.notifications')}