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: [ tree: [
{ {
id: 0, id: 0,
title: '/ (root)', title: '/ (' + siteConfig.title + ')',
children: [] children: []
} }
], ],
@ -248,7 +248,7 @@ export default {
this.tree = [ this.tree = [
{ {
id: 0, id: 0,
title: '/ (root)', title: '/ (' + siteConfig.title + ')',
children: [] children: []
} }
] ]

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

Loading…
Cancel
Save