update watched videos in each separate component

This commit is contained in:
vr10t
2023-02-19 13:41:13 +00:00
parent 005a938261
commit 949527ed43
6 changed files with 12 additions and 3 deletions

View File

@@ -54,6 +54,8 @@ export default {
duration: video.duration,
thumbnail: video.thumbnail,
watchedAt: video.watchedAt,
watched: true,
currentTime: video.currentTime,
});
if (this.videos.length < 1000) cursor.continue();
}