aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/search/search.component.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts
index 0439fdf51..eea015c2e 100644
--- a/client/src/app/search/search.component.ts
+++ b/client/src/app/search/search.component.ts
@@ -148,7 +148,10 @@ export class SearchComponent implements OnInit, OnDestroy {
148 }, 148 },
149 149
150 err => { 150 err => {
151 if (this.advancedSearch.searchTarget !== 'search-index') this.notifier.error(err.message) 151 if (this.advancedSearch.searchTarget !== 'search-index') {
152 this.notifier.error(err.message)
153 return
154 }
152 155
153 this.notifier.error( 156 this.notifier.error(
154 this.i18n('Search index is unavailable. Retrying with instance results instead.'), 157 this.i18n('Search index is unavailable. Retrying with instance results instead.'),