change root to as in title, the root will be configurable

pull/5352/head
rajatchauhanyti 2 years ago
parent a567174aee
commit 9b97720eac

@ -147,7 +147,7 @@ export default {
tree: [
{
id: 0,
title: '/ (root)',
title: '/ (' + siteConfig.title + ')',
children: []
}
],
@ -248,7 +248,7 @@ export default {
this.tree = [
{
id: 0,
title: '/ (root)',
title: '/ (' + siteConfig.title + ')',
children: []
}
]

@ -72,7 +72,7 @@ import _ from 'lodash'
import gql from 'graphql-tag'
import { get } from 'vuex-pathify'
/* global siteLangs */
/* global siteLangs, siteConfig */
export default {
props: {
@ -99,7 +99,7 @@ export default {
currentItems: [],
currentParent: {
id: 0,
title: '/ (root)'
title: '/ (' + siteConfig.title + ')'
},
parents: [],
loadedCache: []

Loading…
Cancel
Save