mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 14:13:37 +08:00
Revert error handling regression
This commit is contained in:
parent
ebb4623223
commit
c82a48bfbb
|
@ -120,7 +120,10 @@ export default class NotificationList extends Component {
|
|||
app.session.user.pushAttributes({newNotificationsCount: 0});
|
||||
app.cache.notifications = notifications.sort((a, b) => b.time() - a.time());
|
||||
})
|
||||
.finally(this.loaded.bind(this));
|
||||
.finally(() => {
|
||||
this.loading = false;
|
||||
m.redraw();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user