mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-12-28 23:42:48 +00:00
update watched videos in each separate component
This commit is contained in:
@@ -72,7 +72,10 @@ export default {
|
||||
},
|
||||
async updateResults() {
|
||||
document.title = this.$route.query.search_query + " - Piped";
|
||||
this.results = this.fetchResults().then(json => (this.results = json));
|
||||
this.results = this.fetchResults().then(json => {
|
||||
this.results = json;
|
||||
this.updateWatched(this.results.items);
|
||||
});
|
||||
},
|
||||
updateFilter() {
|
||||
this.$router.replace({
|
||||
|
||||
Reference in New Issue
Block a user