Skip to content

Commit

Permalink
fix: add missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Feb 9, 2021
1 parent e2c7617 commit cada4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme-default/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const showSidebar = computed(() => {
const { themeConfig } = siteRouteData.value
return !isSideBarEmpty(getSideBarConfig(themeConfig.sidebar))
return !isSideBarEmpty(getSideBarConfig(themeConfig.sidebar, route.path))
})
const toggleSidebar = (to?: boolean) => {
Expand Down

0 comments on commit cada4e7

Please sign in to comment.