mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed hiding of search on file://
This commit is contained in:
parent
dac469eace
commit
19ab065236
@ -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
|
||||
})
|
||||
)
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user