From e378a82c6ae9c31e3de7a010b36b13e350b595e9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 30 Jul 2018 06:20:06 +0900 Subject: [PATCH] Fix bug --- src/client/app/desktop/views/pages/favorites.vue | 2 +- src/client/app/mobile/views/pages/favorites.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/desktop/views/pages/favorites.vue b/src/client/app/desktop/views/pages/favorites.vue index 8adb9412f..85d667326 100644 --- a/src/client/app/desktop/views/pages/favorites.vue +++ b/src/client/app/desktop/views/pages/favorites.vue @@ -48,7 +48,7 @@ export default Vue.extend({ this.moreFetching = true; (this as any).api('i/favorites', { limit: 11, - maxId: this.favorites[this.favorites.length - 1].id + maxId: this.favorites[this.favorites.length - 1].note.id }).then(favorites => { if (favorites.length == 11) { this.existMore = true; diff --git a/src/client/app/mobile/views/pages/favorites.vue b/src/client/app/mobile/views/pages/favorites.vue index c4edd9d97..63aea7b34 100644 --- a/src/client/app/mobile/views/pages/favorites.vue +++ b/src/client/app/mobile/views/pages/favorites.vue @@ -53,7 +53,7 @@ export default Vue.extend({ this.moreFetching = true; (this as any).api('i/favorites', { limit: 11, - maxId: this.favorites[this.favorites.length - 1].id + maxId: this.favorites[this.favorites.length - 1].note.id }).then(favorites => { if (favorites.length == 11) { this.existMore = true;