mirror of
https://github.com/flarum/framework.git
synced 2025-03-23 05:35:15 +08:00
Fixed broken discussion list pagination when clicking on the update button (#33)
This commit is contained in:
parent
6ced7809b1
commit
df86c11355
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user