summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-30 06:20:06 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-30 06:20:06 +0900
commit4e6dcd16ac9a976b6fa7765d02ef86ba3493ef7f (patch)
tree951ca5c1550b9d33c0558f5adf7b16b6e0c75c6f /src
parentMerge pull request #2021 from syuilo/l10n_master (diff)
downloadsharkey-4e6dcd16ac9a976b6fa7765d02ef86ba3493ef7f.tar.gz
sharkey-4e6dcd16ac9a976b6fa7765d02ef86ba3493ef7f.tar.bz2
sharkey-4e6dcd16ac9a976b6fa7765d02ef86ba3493ef7f.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/pages/favorites.vue2
-rw-r--r--src/client/app/mobile/views/pages/favorites.vue2
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 8adb9412f2..85d6673264 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 c4edd9d970..63aea7b34d 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;