diff options
Diffstat (limited to 'client/src/app/header')
-rw-r--r-- | client/src/app/header/search-typeahead.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/header/search-typeahead.component.ts b/client/src/app/header/search-typeahead.component.ts index b5d76c70e..e10baea2b 100644 --- a/client/src/app/header/search-typeahead.component.ts +++ b/client/src/app/header/search-typeahead.component.ts | |||
@@ -199,7 +199,7 @@ export class SearchTypeaheadComponent implements OnInit, AfterViewChecked, OnDes | |||
199 | } | 199 | } |
200 | 200 | ||
201 | private loadUserLanguagesIfNeeded (queryParams: any) { | 201 | private loadUserLanguagesIfNeeded (queryParams: any) { |
202 | if (queryParams && queryParams.languageOneOf) return of(queryParams) | 202 | if (queryParams?.languageOneOf) return of(queryParams) |
203 | 203 | ||
204 | return this.authService.userInformationLoaded | 204 | return this.authService.userInformationLoaded |
205 | .pipe( | 205 | .pipe( |