mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 00:06:25 +08:00
Fix refresh button (#27)
This commit is contained in:
parent
19edd65173
commit
8dc99db73e
@ -73,7 +73,7 @@ app.initializers.add('flarum-pusher', () => {
|
||||
Button.component({
|
||||
className: 'Button Button--block DiscussionList-update',
|
||||
onclick: () => {
|
||||
this.refresh(false).then(() => {
|
||||
this.attrs.state.refresh(false).then(() => {
|
||||
this.loadingUpdated = false;
|
||||
app.pushedUpdates = [];
|
||||
app.setTitleCount(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user