From 765a339499b64d462644b0e76669ecf1b1f57630 Mon Sep 17 00:00:00 2001 From: Fabio Gatti Date: Wed, 23 Nov 2022 04:38:55 -0500 Subject: [PATCH] Fixed refresh on explore route not displaying the search string on the navbar --- components/search/Search.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/search/Search.vue b/components/search/Search.vue index 30cc4fe029..14361618b7 100644 --- a/components/search/Search.vue +++ b/components/search/Search.vue @@ -127,6 +127,11 @@ export default class Search extends mixins( this.initKeyboardEventHandler({ f: this.bindFilterEvents, }) + if (!this.name && this.$route.query.search) { + this.name = Array.isArray(this.$route.query.search) + ? '' + : this.$route.query.search + } } public mounted(): void {