mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02:00
Revert error handling regression
This commit is contained in:
@@ -120,7 +120,10 @@ export default class NotificationList extends Component {
|
|||||||
app.session.user.pushAttributes({newNotificationsCount: 0});
|
app.session.user.pushAttributes({newNotificationsCount: 0});
|
||||||
app.cache.notifications = notifications.sort((a, b) => b.time() - a.time());
|
app.cache.notifications = notifications.sort((a, b) => b.time() - a.time());
|
||||||
})
|
})
|
||||||
.finally(this.loaded.bind(this));
|
.finally(() => {
|
||||||
|
this.loading = false;
|
||||||
|
m.redraw();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user