Skip to content

Commit

Permalink
fix(theme/regression): typo in component props resulting in nested ti…
Browse files Browse the repository at this point in the history
…tles not showing in navbar

closes #4042
  • Loading branch information
brc-dd committed Jul 14, 2024
1 parent 6263db1 commit 01d0d45
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions __tests__/e2e/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,29 @@ const nav: DefaultTheme.Config['nav'] = [
}
]
}
},
{
text: 'Nested',
items: [
{
text: 'Level 1 - 1',
items: [
{
text: 'Level 2 - 1',
link: '/nested/level1-1/level2-1'
}
]
},
{
text: 'Level 1 - 2',
items: [
{
text: 'Level 2 - 2',
link: '/nested/level1-2/level2-2'
}
]
}
]
}
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function toggle() {
</div>

<div v-else class="group">
<VPNavScreenMenuGroupSection :items="item.items" />
<VPNavScreenMenuGroupSection :text="item.text" :items="item.items" />
</div>
</template>
</div>
Expand Down

0 comments on commit 01d0d45

Please sign in to comment.