Skip to content

Commit

Permalink
fix: Fine tuning collapsed state (#864)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieunicolas committed Mar 23, 2023
1 parent ae0f1ec commit 1c6ba36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/docs/DocsAsideTree.vue
Expand Up @@ -47,7 +47,7 @@ const isCollapsed = (link: any) => {
}
// Check if aside.collapsed has been set in YML
if (link?.aside?.collapsed) { return link.aside.collapsed }
if ([true, false].includes(link?.aside?.collapsed)) { return link.aside.collapsed }
// Return value grabbed from the link
if (link?.collapsed) { return link?.collapsed }
Expand Down

0 comments on commit 1c6ba36

Please sign in to comment.