From 7dee1c8283afe3e5d798ceb9d3eb5d45719c360e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Glasn=C3=A1k?= Date: Tue, 29 Nov 2022 21:30:29 +0100 Subject: [PATCH] . --- app/src/plugins/app/_config/router.ts | 6 ++++++ app/src/plugins/app/_layout/app/_components/a-header.vue | 2 +- app/src/plugins/app/_layout/app/_components/a-sidemenu.vue | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/plugins/app/_config/router.ts b/app/src/plugins/app/_config/router.ts index 1a60f22..5e516fa 100644 --- a/app/src/plugins/app/_config/router.ts +++ b/app/src/plugins/app/_config/router.ts @@ -45,32 +45,38 @@ const routes: Array = [ { path: '/app/dashboard/tasks', name: 'Dashboard - Tasks', + meta: { title: 'Úlohy' }, component: () => import('@/plugins/tm@dashboard/tasks/tasks.vue') }, { path: '/app/dashboard/teams', name: 'Dashboard - Teams', + meta: { title: 'Tímové zobrazenie' }, component: () => import('@/plugins/tm@dashboard/teams/teams.vue') }, { path: '/app/dashboard/projects', name: 'Dashboard - Projects', + meta: { title: 'Projektové zobrazenie' }, component: () => import('@/plugins/tm@dashboard/projects/projects.vue') }, { path: '/app/overview/unscheduled', name: 'Overview - Unscheduled tasks', + meta: { title: 'Nenaplánované úlohy' }, component: () => import('@/plugins/tm@overview/tasks-unscheduled/tasks-unscheduled.vue') }, { path: '/app/overview/ongoing', name: 'Overview - Ongoing tasks', + meta: { title: 'Prebiehajúce úlohy' }, component: () => import('@/plugins/tm@overview/tasks-ongoing/tasks-ongoing.vue') }, { path: '/app/overview/teams', name: 'Overview - Teams', + meta: { title: 'Tímy' }, component: () => import('@/plugins/tm@overview/teams/teams.vue') } ] diff --git a/app/src/plugins/app/_layout/app/_components/a-header.vue b/app/src/plugins/app/_layout/app/_components/a-header.vue index 63c6832..d3da875 100644 --- a/app/src/plugins/app/_layout/app/_components/a-header.vue +++ b/app/src/plugins/app/_layout/app/_components/a-header.vue @@ -3,7 +3,7 @@
-

{{ $route.name }}

+

{{ $route.meta.title }}

search-icon diff --git a/app/src/plugins/app/_layout/app/_components/a-sidemenu.vue b/app/src/plugins/app/_layout/app/_components/a-sidemenu.vue index b3c0884..5884e0f 100644 --- a/app/src/plugins/app/_layout/app/_components/a-sidemenu.vue +++ b/app/src/plugins/app/_layout/app/_components/a-sidemenu.vue @@ -34,7 +34,7 @@ export default { pageName: 'Overview - Unscheduled tasks' }, { - title: 'Ongoing tasky', + title: 'Prebiehajúce úlohy', pageName: 'Overview - Ongoing tasks' }, {