mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix search result caching.
This commit is contained in:
parent
da8743b9cb
commit
ebc767cf09
2 changed files with 0 additions and 6 deletions
|
@ -93,11 +93,6 @@ export default {
|
||||||
deactivated() {
|
deactivated() {
|
||||||
window.removeEventListener("scroll", this.handleScroll);
|
window.removeEventListener("scroll", this.handleScroll);
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
"$route.query.search_query": function(q) {
|
|
||||||
if (q) this.updateResults();
|
|
||||||
},
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
async fetchResults() {
|
async fetchResults() {
|
||||||
return await await this.fetchJson(this.apiUrl() + "/search", {
|
return await await this.fetchJson(this.apiUrl() + "/search", {
|
||||||
|
|
|
@ -135,7 +135,6 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getVideoData().then(() => {
|
this.getVideoData().then(() => {
|
||||||
console.log(this.video.title);
|
|
||||||
this.$refs.videoPlayer.loadVideo();
|
this.$refs.videoPlayer.loadVideo();
|
||||||
});
|
});
|
||||||
this.getSponsors();
|
this.getSponsors();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue