mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 23:47:25 +00:00
parent
981133ebd0
commit
bc636b4064
@ -136,6 +136,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
loadMoreVideos() {
|
loadMoreVideos() {
|
||||||
|
if (!this.videosStore) return;
|
||||||
this.currentVideoCount = Math.min(this.currentVideoCount + this.videoStep, this.videosStore.length);
|
this.currentVideoCount = Math.min(this.currentVideoCount + this.videoStep, this.videosStore.length);
|
||||||
if (this.videos.length != this.videosStore.length) {
|
if (this.videos.length != this.videosStore.length) {
|
||||||
this.videos = this.videosStore.slice(0, this.currentVideoCount);
|
this.videos = this.videosStore.slice(0, this.currentVideoCount);
|
||||||
|
Loading…
Reference in New Issue
Block a user