From ea978dff456df99cfa50e3f1954d80fa38a0aa78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 28 Feb 2019 20:24:32 +0100 Subject: [PATCH] Update Timeline.vue --- resources/assets/js/components/Timeline.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 09fb2a47..29ced302 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -892,6 +892,9 @@ this.following = res.data; this.followingCursor++; }); + if(res.data.length < 10) { + this.followingMore = false; + } this.$refs.followingModal.show(); }, @@ -908,7 +911,10 @@ .then(res => { this.followers = res.data; this.followerCursor++; - }) + }) + if(res.data.length < 10) { + this.followerMore = false; + } this.$refs.followerModal.show(); },