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

@@ -422,6 +422,7 @@ export default {
});
xmlDoc.querySelectorAll("br").forEach(elem => (elem.outerHTML = "\n"));
this.video.description = this.rewriteDescription(xmlDoc.querySelector("body").innerHTML);
this.updateWatched(this.video.relatedStreams);
}
});
},