From 46d8ff90f8f003220cfe05cece5a16c62cd0a0b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 28 Feb 2019 20:24:25 +0100 Subject: [PATCH] Update Profile.vue --- resources/assets/js/components/Profile.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue index f23371d6..b94230bd 100644 --- a/resources/assets/js/components/Profile.vue +++ b/resources/assets/js/components/Profile.vue @@ -671,6 +671,9 @@ export default { .then(res => { this.following = res.data; this.followingCursor++; + if(res.data.length < 10) { + this.followingMore = false; + } }); this.$refs.followingModal.show(); }, @@ -688,6 +691,9 @@ export default { .then(res => { this.followers = res.data; this.followerCursor++; + if(res.data.length < 10) { + this.followerMore = false; + } }) this.$refs.followerModal.show(); },