Skip to content

Commit

Permalink
fix: search box max suggestions not working as expected (#1728)
Browse files Browse the repository at this point in the history
fix: search box max suggestions
fix #1728
  • Loading branch information
vrjuliao authored and fgiraud committed Sep 10, 2019
1 parent 543fd6c commit ade328f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/plugin-search/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default {
}
const { pages } = this.$site
const max = SEARCH_MAX_SUGGESTIONS
const max = this.$site.themeConfig.searchMaxSuggestions || SEARCH_MAX_SUGGESTIONS
const localePath = this.$localePath
const matches = item => (
item.title
Expand Down

0 comments on commit ade328f

Please sign in to comment.