diff --git a/src/app/router/index.js b/src/app/router/index.js index 3f1cf371..3ee9a97f 100644 --- a/src/app/router/index.js +++ b/src/app/router/index.js @@ -45,15 +45,15 @@ const routes = [ { path: '/', name: 'crm-workspace', - redirect: { name: 'contacts' }, + redirect: { name: 'the-start-page' }, component: TheCrmWorkspace, beforeEnter: checkAppAccess, children: [ - // { - // path: 'start-page', - // name: 'the-start-page', - // component: TheStartPage, - // }, + { + path: 'start-page', + name: 'the-start-page', + component: TheStartPage, + }, { path: 'contacts', name: CrmSections.CONTACTS, @@ -127,9 +127,6 @@ const routes = [ }, ], }, - - - ], }, { diff --git a/src/modules/start-page/components/the-start-page.vue b/src/modules/start-page/components/the-start-page.vue index 92af5c5c..19b6ea0c 100644 --- a/src/modules/start-page/components/the-start-page.vue +++ b/src/modules/start-page/components/the-start-page.vue @@ -40,16 +40,16 @@ const nav = [ dark: ContactsImgDark, }, }, - // { - // value: 'configuration', - // route: '/configuration', - // name: t(`startPage.configuration.name`), - // text: t(`startPage.configuration.text`), - // images: { - // light: ConfigurationImgLight, - // dark: ConfigurationImgDark, - // }, - // }, + { + value: 'configuration', + route: '/configuration', + name: t(`startPage.configuration.name`), + text: t(`startPage.configuration.text`), + images: { + light: ConfigurationImgLight, + dark: ConfigurationImgDark, + }, + }, ];