mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Fixed broken discussion list pagination when clicking on the update button (#33)
This commit is contained in:
@@ -78,7 +78,7 @@ app.initializers.add('flarum-pusher', () => {
|
|||||||
Button.component({
|
Button.component({
|
||||||
className: 'Button Button--block DiscussionList-update',
|
className: 'Button Button--block DiscussionList-update',
|
||||||
onclick: () => {
|
onclick: () => {
|
||||||
this.attrs.state.refresh(false).then(() => {
|
this.attrs.state.refresh().then(() => {
|
||||||
this.loadingUpdated = false;
|
this.loadingUpdated = false;
|
||||||
app.pushedUpdates = [];
|
app.pushedUpdates = [];
|
||||||
app.setTitleCount(0);
|
app.setTitleCount(0);
|
||||||
|
Reference in New Issue
Block a user