mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-04-04 14:56:58 +00:00
fix: race conditions when when loading lots of videos quickly
This commit is contained in:
@@ -131,8 +131,8 @@ export default {
|
||||
if (!this.videosStore) return;
|
||||
this.currentVideoCount = Math.min(this.currentVideoCount + this.videoStep, this.videosStore.length);
|
||||
if (this.videos.length != this.videosStore.length) {
|
||||
this.fetchDeArrowContent(this.videosStore.slice(this.videos.length, this.currentVideoCount));
|
||||
this.videos = this.videosStore.slice(0, this.currentVideoCount);
|
||||
this.fetchDeArrowContent(this.videos);
|
||||
}
|
||||
},
|
||||
handleScroll() {
|
||||
|
||||
Reference in New Issue
Block a user