mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +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));
|
||||
}
|
||||
|
||||
loadResults(start) {
|
||||
loadResults(offset) {
|
||||
return app.store.find('activity', {
|
||||
users: this.user().id(),
|
||||
start,
|
||||
page: {offset},
|
||||
type: this.props.filter
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user