diff --git a/src/assets/javascripts/index.ts b/src/assets/javascripts/index.ts index 7b3b5088f..373070630 100644 --- a/src/assets/javascripts/index.ts +++ b/src/assets/javascripts/index.ts @@ -292,7 +292,11 @@ export function initialize(config: unknown) { shareReplay(1) ) }), - catchError(() => NEVER) + catchError(() => { + useComponent("search") + .subscribe(el => el.hidden = true) // TODO: Hack + return NEVER + }) ) /* ----------------------------------------------------------------------- */