diff --git a/src/components/SearchResults.vue b/src/components/SearchResults.vue index cf407410..b415b010 100644 --- a/src/components/SearchResults.vue +++ b/src/components/SearchResults.vue @@ -51,8 +51,8 @@ export default { window.removeEventListener("scroll", this.handleScroll); }, watch: { - "$route.query.search_query": function() { - this.updateResults(); + "$route.query.search_query": function(q) { + if (q) this.updateResults(); } }, methods: {