fix(theme/regression): typo in component props resulting in nested titles not showing in navbar

closes #4042
pull/4050/head
Divyansh Singh 1 year ago
parent 6263db170a
commit 01d0d45292

@ -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'
}
]
}
]
} }
] ]

@ -42,7 +42,7 @@ function toggle() {
</div> </div>
<div v-else class="group"> <div v-else class="group">
<VPNavScreenMenuGroupSection :items="item.items" /> <VPNavScreenMenuGroupSection :text="item.text" :items="item.items" />
</div> </div>
</template> </template>
</div> </div>

Loading…
Cancel
Save