Skip to content

Commit

Permalink
refactor(drawer): add link to Dashboard. ref #866
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Sep 29, 2024
1 parent 152df71 commit 902827c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@
"Home": {
"Title": "Home"
},
"Dashboard": {
"Title": "Dashboard"
},
"LatestPrices": {
"Title": "Latest prices"
},
Expand Down Expand Up @@ -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!",
Expand Down
2 changes: 1 addition & 1 deletion src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
Expand Down

0 comments on commit 902827c

Please sign in to comment.