fix(theme): docs html sidebar items should always be visible (#9531)

This commit is contained in:
Sébastien Lorber 2023-11-10 18:12:55 +01:00 committed by GitHub
parent 328e5f7ddc
commit e68ef88336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }
} }