From 9e4ed7986c2103e94e9bf5005af8c7f570cfbc7f Mon Sep 17 00:00:00 2001 From: Mauro Frischherz Date: Fri, 19 Jun 2020 04:05:41 +0200 Subject: [PATCH] fix: include locale in sidebar browse links (#1807) Co-authored-by: Mauro Frischherz --- client/themes/default/components/nav-sidebar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/themes/default/components/nav-sidebar.vue b/client/themes/default/components/nav-sidebar.vue index 2f3b2074..761d464b 100644 --- a/client/themes/default/components/nav-sidebar.vue +++ b/client/themes/default/components/nav-sidebar.vue @@ -43,7 +43,7 @@ v-list-item-avatar(size='24') v-icon mdi-folder v-list-item-title {{ item.title }} - v-list-item(v-else, :href='`/` + item.path', :key='`childpage-` + item.id', :input-value='path === item.path') + v-list-item(v-else, :href='`/` + item.locale + `/` + item.path', :key='`childpage-` + item.id', :input-value='path === item.path') v-list-item-avatar(size='24') v-icon mdi-text-box v-list-item-title {{ item.title }} @@ -135,6 +135,7 @@ export default { isFolder pageId parent + locale } } } @@ -162,6 +163,7 @@ export default { isFolder pageId parent + locale } } }