Update Timeline.vue

pull/913/head
marcin mikołajczak 7 years ago committed by GitHub
parent 50e7d61f6e
commit 76aab4b435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -922,7 +922,8 @@
if(res.data.length > 0) { if(res.data.length > 0) {
this.following.push(...res.data); this.following.push(...res.data);
this.followingCursor++; this.followingCursor++;
} else { }
if(res.data.length < 10) {
this.followingMore = false; this.followingMore = false;
} }
}); });
@ -939,11 +940,12 @@
if(res.data.length > 0) { if(res.data.length > 0) {
this.followers.push(...res.data); this.followers.push(...res.data);
this.followerCursor++; this.followerCursor++;
} else { }
if(res.data.length < 10) {
this.followerMore = false; this.followerMore = false;
} }
}); });
} }
} }
} }
</script> </script>

Loading…
Cancel
Save