We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abad4c5 commit 644142bCopy full SHA for 644142b
packages/@vuepress/theme-default/components/AlgoliaSearchBox.vue
@@ -35,7 +35,10 @@ export default {
35
// #697 Make docsearch work well at i18n mode.
36
algoliaOptions: Object.assign({
37
'facetFilters': [`lang:${lang}`].concat(algoliaOptions.facetFilters || [])
38
- }, algoliaOptions)
+ }, algoliaOptions),
39
+ handleSelected: (input, event, suggestion) => {
40
+ this.$router.push(new URL(suggestion.url).pathname)
41
+ }
42
}
43
))
44
})
0 commit comments