1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Fixed broken discussion list pagination when clicking on the update button (#33)

This commit is contained in:
Rafał Całka
2021-12-12 08:41:25 +01:00
committed by GitHub
parent 6ced7809b1
commit df86c11355

View File

@@ -78,7 +78,7 @@ app.initializers.add('flarum-pusher', () => {
Button.component({
className: 'Button Button--block DiscussionList-update',
onclick: () => {
this.attrs.state.refresh(false).then(() => {
this.attrs.state.refresh().then(() => {
this.loadingUpdated = false;
app.pushedUpdates = [];
app.setTitleCount(0);