mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 10:17:55 +02:00
fix(theme): docs html sidebar items should always be visible (#9531)
This commit is contained in:
parent
328e5f7ddc
commit
e68ef88336
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ export function isVisibleSidebarItem(
|
||||||
// An unlisted item remains visible if it is active
|
// An unlisted item remains visible if it is active
|
||||||
return !item.unlisted || isActiveSidebarItem(item, activePath);
|
return !item.unlisted || isActiveSidebarItem(item, activePath);
|
||||||
default:
|
default:
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue