Browse Source
fix: include locale in sidebar browse links (#1807)
Co-authored-by: Mauro Frischherz <mauro.frischherz@eoscop.ch>
pull/2086/head
Mauro Frischherz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|