From 5590507ef331924a564c2399f3b42a32cbe7a6d3 Mon Sep 17 00:00:00 2001 From: myml Date: Sun, 15 May 2022 09:18:46 +0800 Subject: [PATCH] fix(nav): add locale to current directory link (#5286) --- client/themes/default/components/nav-sidebar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/themes/default/components/nav-sidebar.vue b/client/themes/default/components/nav-sidebar.vue index cb5ec0b8..704d828f 100644 --- a/client/themes/default/components/nav-sidebar.vue +++ b/client/themes/default/components/nav-sidebar.vue @@ -51,7 +51,7 @@ v-icon(small) mdi-folder-open v-list-item-title {{ item.title }} v-divider.mt-2 - v-list-item.mt-2(v-if='currentParent.pageId > 0', :href='`/` + currentParent.path', :key='`directorypage-` + currentParent.id', :input-value='path === currentParent.path') + v-list-item.mt-2(v-if='currentParent.pageId > 0', :href='`/` + item.locale + `/` + currentParent.path', :key='`directorypage-` + currentParent.id', :input-value='path === currentParent.path') v-list-item-avatar(size='24') v-icon mdi-text-box v-list-item-title {{ currentParent.title }}