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 7ef3722 commit a0345d8Copy full SHA for a0345d8
src/.vuepress/theme/components/Navbar.vue
@@ -26,7 +26,7 @@
26
<SearchBox
27
v-if="
28
isAlgoliaSearch === false &&
29
- !(
+ (
30
$site.themeConfig.search !== false &&
31
$page.frontmatter.search !== false
32
)
@@ -68,7 +68,7 @@ export default {
68
},
69
70
isAlgoliaSearch() {
71
- return this.algolia && this.algolia.apiKey && this.algolia.indexName
+ return !!(this.algolia && this.algolia.apiKey && this.algolia.indexName)
72
}
73
74
0 commit comments