mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
@ -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);
|
||||||
|
Reference in New Issue
Block a user