diff --git a/src/components/SearchResults.vue b/src/components/SearchResults.vue index 54d0cd4d..0cca8c94 100644 --- a/src/components/SearchResults.vue +++ b/src/components/SearchResults.vue @@ -56,6 +56,11 @@ export default { this.updateResults(); this.saveQueryToHistory(); }, + updated() { + if (this.$route.query.search_query !== undefined) { + document.title = this.$route.query.search_query + " - Piped"; + } + }, activated() { this.handleRedirect(); window.addEventListener("scroll", this.handleScroll);