fix: breadcrumb path generation

This commit is contained in:
Nicolas Giard
2026-01-06 00:38:16 -05:00
committed by GitHub
parent af839795ae
commit 29c8671ab2
+1 -1
View File
@@ -540,7 +540,7 @@ export default {
return [{ path: `/${this.locale}`, name: 'Home' }].concat(
_.reduce(this.path.split('/'), (result, value) => {
result.push({
path: _.get(_.last(result), 'path') + `/${value}`,
path: _.get(_.last(result), 'path', `/${this.locale}`) + `/${value}`,
name: value
})
return result