mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Update Timeline.vue
This commit is contained in:
parent
50e7d61f6e
commit
76aab4b435
1 changed files with 5 additions and 3 deletions
|
@ -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…
Reference in a new issue