diff options
| author | mei23 <m@m544.net> | 2018-05-09 04:56:07 +0900 |
|---|---|---|
| committer | mei23 <m@m544.net> | 2018-05-09 04:56:07 +0900 |
| commit | 107d9fd2c800217b6945396e22d5154dd0085b4f (patch) | |
| tree | 26ff7e1962ae0554fa33f404420459ef892afe5d /src | |
| parent | Provide originalNotesCount and originalUsersCount (diff) | |
| download | sharkey-107d9fd2c800217b6945396e22d5154dd0085b4f.tar.gz sharkey-107d9fd2c800217b6945396e22d5154dd0085b4f.tar.bz2 sharkey-107d9fd2c800217b6945396e22d5154dd0085b4f.zip | |
Fix list load-more is not working
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/desktop/views/components/user-list-timeline.vue | 2 | ||||
| -rw-r--r-- | src/client/app/mobile/views/components/user-list-timeline.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/components/user-list-timeline.vue b/src/client/app/desktop/views/components/user-list-timeline.vue index ccdf8f64d2..59d6abbbc1 100644 --- a/src/client/app/desktop/views/components/user-list-timeline.vue +++ b/src/client/app/desktop/views/components/user-list-timeline.vue @@ -62,7 +62,7 @@ export default Vue.extend({ more() { this.moreFetching = true; - (this as any).api('notes/list-timeline', { + (this as any).api('notes/user-list-timeline', { listId: this.list.id, limit: fetchLimit + 1, untilId: (this.$refs.timeline as any).tail().id, diff --git a/src/client/app/mobile/views/components/user-list-timeline.vue b/src/client/app/mobile/views/components/user-list-timeline.vue index ccdf8f64d2..59d6abbbc1 100644 --- a/src/client/app/mobile/views/components/user-list-timeline.vue +++ b/src/client/app/mobile/views/components/user-list-timeline.vue @@ -62,7 +62,7 @@ export default Vue.extend({ more() { this.moreFetching = true; - (this as any).api('notes/list-timeline', { + (this as any).api('notes/user-list-timeline', { listId: this.list.id, limit: fetchLimit + 1, untilId: (this.$refs.timeline as any).tail().id, |