From 835057d97042aaa67a5d5e369393f315f6c3d813 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 30 Jul 2018 14:45:48 +0900 Subject: [PATCH] Revert "Fix bug" This reverts commit 4e6dcd16ac9a976b6fa7765d02ef86ba3493ef7f. --- 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 85d6673264..8adb9412f2 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].note.id + maxId: this.favorites[this.favorites.length - 1].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 63aea7b34d..c4edd9d970 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].note.id + maxId: this.favorites[this.favorites.length - 1].id }).then(favorites => { if (favorites.length == 11) { this.existMore = true;