Merge branch 'main' into fix/404

pull/964/head
Divyansh Singh 3 years ago committed by GitHub
commit 5c3324bffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,8 @@ export function useSidebar() {
const sidebar = computed(() => { const sidebar = computed(() => {
const sidebarConfig = theme.value.sidebar const sidebarConfig = theme.value.sidebar
return sidebarConfig ? getSidebar(sidebarConfig, route.path) : [] const relativePath = route.data.relativePath
return sidebarConfig ? getSidebar(sidebarConfig, relativePath) : []
}) })
const hasSidebar = computed(() => { const hasSidebar = computed(() => {

Loading…
Cancel
Save