Update Timeline.vue

This commit is contained in:
marcin mikołajczak 2019-02-28 20:24:32 +01:00 committed by GitHub
parent 46d8ff90f8
commit ea978dff45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -892,6 +892,9 @@
this.following = res.data; this.following = res.data;
this.followingCursor++; this.followingCursor++;
}); });
if(res.data.length < 10) {
this.followingMore = false;
}
this.$refs.followingModal.show(); this.$refs.followingModal.show();
}, },
@ -909,6 +912,9 @@
this.followers = res.data; this.followers = res.data;
this.followerCursor++; this.followerCursor++;
}) })
if(res.data.length < 10) {
this.followerMore = false;
}
this.$refs.followerModal.show(); this.$refs.followerModal.show();
}, },