Fixed hiding of search on file://

This commit is contained in:
squidfunk 2020-04-26 19:28:32 +02:00
parent dac469eace
commit 19ab065236

View File

@ -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
})
)
/* ----------------------------------------------------------------------- */