Fix #1197: Ensure search page reloads if another search is submitted in the sidebar

environments/review-docs-devel-1399dq/deployments/6607
Agate 2020-08-23 17:04:43 +02:00
rodzic 6bd77f24d6
commit af2bdc0591
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1 @@
Ensure search page reloads if another search is submitted in the sidebar (#1197)

Wyświetl plik

@ -231,6 +231,11 @@ export default {
async page () {
this.updateQueryString()
await this.search()
},
"$route.query.q": async function (v) {
this.query = v
this.updateQueryString()
await this.search()
}
}
}