Browse Source

fix(nav): add locale to current directory link (#5286)

pull/5304/head
myml 2 years ago
committed by GitHub
parent
commit
5590507ef3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      client/themes/default/components/nav-sidebar.vue

2
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 }}

Loading…
Cancel
Save