fix: include locale in sidebar browse links (#1807)

Co-authored-by: Mauro Frischherz <mauro.frischherz@eoscop.ch>
This commit is contained in:
Mauro Frischherz 2020-06-19 04:05:41 +02:00 committed by GitHub
parent 77086a6e0a
commit 9e4ed7986c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@
v-list-item-avatar(size='24') v-list-item-avatar(size='24')
v-icon mdi-folder v-icon mdi-folder
v-list-item-title {{ item.title }} 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-list-item-avatar(size='24')
v-icon mdi-text-box v-icon mdi-text-box
v-list-item-title {{ item.title }} v-list-item-title {{ item.title }}
@ -135,6 +135,7 @@ export default {
isFolder isFolder
pageId pageId
parent parent
locale
} }
} }
} }
@ -162,6 +163,7 @@ export default {
isFolder isFolder
pageId pageId
parent parent
locale
} }
} }
} }