aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/header/search-typeahead.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/header/search-typeahead.component.ts b/client/src/app/header/search-typeahead.component.ts
index 6c8b8efee..7d04e0f6d 100644
--- a/client/src/app/header/search-typeahead.component.ts
+++ b/client/src/app/header/search-typeahead.component.ts
@@ -112,10 +112,10 @@ export class SearchTypeaheadComponent implements OnInit, AfterViewInit, AfterVie
112 const searchIndexConfig = this.serverConfig.search.searchIndex 112 const searchIndexConfig = this.serverConfig.search.searchIndex
113 113
114 if (!this.activeSearch) { 114 if (!this.activeSearch) {
115 if (searchIndexConfig.enabled && searchIndexConfig.isDefaultSearch) { 115 if (searchIndexConfig.enabled && (searchIndexConfig.isDefaultSearch || searchIndexConfig.disableLocalSearch)) {
116 this.activeSearch = 'search-instance'
117 } else {
118 this.activeSearch = 'search-index' 116 this.activeSearch = 'search-index'
117 } else {
118 this.activeSearch = 'search-instance'
119 } 119 }
120 } 120 }
121 121