Skip to content

Commit

Permalink
fix: [components/sidebar] fix invalid global reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice committed May 23, 2023
1 parent bd5f43c commit dfefe8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TheSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class TheSidebar extends Mixins(NavigationMixin, BaseMixin) {
}
naviPath(title: string): string {
return routes.filter((element) => element.title === title)[0].path
return this.naviPoints().filter((element) => element.title === title)[0].path
}
get currentPage(): string {
Expand Down

0 comments on commit dfefe8e

Please sign in to comment.