From dfefe8ec7922239d4f123900073f57938adb01c9 Mon Sep 17 00:00:00 2001 From: Alice Date: Mon, 22 May 2023 18:44:49 -0500 Subject: [PATCH] fix: [components/sidebar] fix invalid global reference --- src/components/TheSidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TheSidebar.vue b/src/components/TheSidebar.vue index 0a0225c8c2..996294d6cd 100644 --- a/src/components/TheSidebar.vue +++ b/src/components/TheSidebar.vue @@ -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 {