From cdf8fbe69e984effb64ecf2c8db2e322b26d3627 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Thu, 26 May 2022 11:01:16 +0200 Subject: [PATCH] Use translatable text for root parent --- 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 2380fa44..9284d5d0 100644 --- a/client/themes/default/components/nav-sidebar.vue +++ b/client/themes/default/components/nav-sidebar.vue @@ -49,7 +49,7 @@ v-list-item(v-for='(item, idx) of parents', :key='`parent-` + item.id', @click='fetchBrowseItems(item)', style='min-height: 30px;') v-list-item-avatar(size='18', :style='`padding-left: ` + (idx * 8) + `px; width: auto; margin: 0 5px 0 0;`') v-icon(small) mdi-folder-open - v-list-item-title {{ item.title }} + v-list-item-title {{ idx === 0 ? $t('common:sidebar.root') : item.title }} v-divider.mt-2 v-list-item.mt-2(v-if='currentParent.pageId > 0', :href='`/` + currentParent.locale + `/` + currentParent.path', :key='`directorypage-` + currentParent.id', :input-value='path === currentParent.path') v-list-item-avatar(size='24')