mirror of
https://github.com/flarum/core.git
synced 2025-07-23 17:51:24 +02:00
Fix user activity load more
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user