diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index ccb39755cc..c22ee490e0 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -382,6 +382,9 @@ "Home": { "Title": "Home" }, + "Dashboard": { + "Title": "Dashboard" + }, "LatestPrices": { "Title": "Latest prices" }, @@ -443,6 +446,7 @@ "LatestPrices": "Latest prices", "LatestProofs": "Latest proofs", "LoadMore": "Load more", + "MyDashboard": "My dashboard", "MyPrices": "My prices", "MyProofs": "My proofs", "ProofUpdated": "Proof updated!", diff --git a/src/router.js b/src/router.js index 670a7cb1d6..49eb3fb379 100644 --- a/src/router.js +++ b/src/router.js @@ -6,7 +6,7 @@ import localeManager from './i18n/localeManager.js' const routes = [ { path: '/', name: 'home', component: () => import('./views/Home.vue'), meta: { title: 'Home', icon: 'mdi-home', drawerMenu: true } }, { path: '/sign-in', name: 'sign-in', component: () => import('./views/SignIn.vue'), meta: { title: 'SignIn', icon: 'mdi-login', drawerMenu: true, requiresAuth: false } }, - { path: '/dashboard', name: 'dashboard', component: () => import('./views/UserDashboard.vue'), meta: { title: 'Dashboard', requiresAuth: true } }, + { path: '/dashboard', name: 'dashboard', component: () => import('./views/UserDashboard.vue'), meta: { title: 'Dashboard', icon: 'mdi-view-dashboard-outline', drawerMenu: true, requiresAuth: true } }, { path: '/dashboard/prices', name: 'dashboard-prices', component: () => import('./views/UserDashboardPriceList.vue'), meta: { title: 'MyPrices', requiresAuth: true } }, { path: '/dashboard/proofs', name: 'dashboard-proofs', component: () => import('./views/UserDashboardProofList.vue'), meta: { title: 'MyProofs', requiresAuth: true } }, { path: '/settings', name: 'settings', component: () => import('./views/UserSettings.vue'), meta: { title: 'Settings', requiresAuth: true } },