Skip to content

Commit

Permalink
fix(theme): fixed sidebar expand caret showing when no children are p…
Browse files Browse the repository at this point in the history
…resent (#3657)
  • Loading branch information
andrewcourtice committed Mar 18, 2024
1 parent b50a8a1 commit e13f932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme-default/components/VPSidebarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function onCaretClick() {
<component v-else :is="textTag" class="text" v-html="item.text" />

<div
v-if="item.collapsed != null"
v-if="item.collapsed != null && item.items && item.items.length"
class="caret"
role="button"
aria-label="toggle section"
Expand Down

0 comments on commit e13f932

Please sign in to comment.