From 76aab4b435d9b8728231053108123b6b603af728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 28 Feb 2019 18:34:52 +0100 Subject: [PATCH] Update Timeline.vue --- resources/assets/js/components/Timeline.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index baf0f6528..09fb2a47e 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -922,7 +922,8 @@ if(res.data.length > 0) { this.following.push(...res.data); this.followingCursor++; - } else { + } + if(res.data.length < 10) { this.followingMore = false; } }); @@ -939,11 +940,12 @@ if(res.data.length > 0) { this.followers.push(...res.data); this.followerCursor++; - } else { + } + if(res.data.length < 10) { this.followerMore = false; } }); } } } - \ No newline at end of file +