diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-04-08 15:17:39 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-04-08 15:17:39 +0900 |
| commit | fceebf73884d72fa5b9d57b7d09c2fa73eb61af7 (patch) | |
| tree | 469df188e161bea1708e3f990bca88f0d212400b /src/client/app/common | |
| parent | Update README.md [AUTOGEN] (#4639) (diff) | |
| download | misskey-fceebf73884d72fa5b9d57b7d09c2fa73eb61af7.tar.gz misskey-fceebf73884d72fa5b9d57b7d09c2fa73eb61af7.tar.bz2 misskey-fceebf73884d72fa5b9d57b7d09c2fa73eb61af7.zip | |
Fix #4562 (#4563)
Diffstat (limited to 'src/client/app/common')
| -rw-r--r-- | src/client/app/common/views/deck/deck.user-column.home.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/deck/deck.user-column.home.vue b/src/client/app/common/views/deck/deck.user-column.home.vue index 7a11be536b..ee24cad1c5 100644 --- a/src/client/app/common/views/deck/deck.user-column.home.vue +++ b/src/client/app/common/views/deck/deck.user-column.home.vue @@ -85,7 +85,7 @@ export default Vue.extend({ this.makePromise = cursor => this.$root.api('users/notes', { userId: this.user.id, limit: fetchLimit + 1, - untilId: cursor ? cursor : undefined, + untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365, withFiles: this.withFiles, includeMyRenotes: this.$store.state.settings.showMyRenotes, includeRenotedMyNotes: this.$store.state.settings.showRenotedMyNotes, @@ -95,7 +95,7 @@ export default Vue.extend({ notes.pop(); return { notes: notes, - cursor: notes[notes.length - 1].id + cursor: new Date(notes[notes.length - 1].createdAt).getTime() }; } else { return { |