mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 22:43:43 +08:00
Fix user activity load more
This commit is contained in:
parent
59562b3246
commit
077f231fef
|
@ -44,10 +44,10 @@ export default class ActivityPage extends UserPage {
|
||||||
this.loadResults().then(this.parseResults.bind(this));
|
this.loadResults().then(this.parseResults.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
loadResults(start) {
|
loadResults(offset) {
|
||||||
return app.store.find('activity', {
|
return app.store.find('activity', {
|
||||||
users: this.user().id(),
|
users: this.user().id(),
|
||||||
start,
|
page: {offset},
|
||||||
type: this.props.filter
|
type: this.props.filter
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user