This commit is contained in:
Matej Glasnák committed 2022-11-29 21:30:29 +01:00
1 parent 7a336d5d1f
commit 7dee1c8283
3 files changed
+8 -2

No files matched your search

+6
View File
@@ -45,32 +45,38 @@ const routes: Array<RouteRecordRaw> = [
{
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')
}
]
@@ -3,7 +3,7 @@
<v-app-bar-nav-icon @click="eventBus.emit('toggle-menu')" class="menu-icon"></v-app-bar-nav-icon>
<div class="d-flex justify-space-between align-center w-100">
<h1>{{ $route.name }}</h1>
<h1>{{ $route.meta.title }}</h1>
<div class="d-flex justify-end align-center w-100">
<img class="search-icon mx-3" :src="require('@/plugins/app/_layout/app/_img/search-icon.svg')" alt="search-icon" />
@@ -34,7 +34,7 @@ export default {
pageName: 'Overview - Unscheduled tasks'
},
{
title: 'Ongoing tasky',
title: 'Prebiehajúce úlohy',
pageName: 'Overview - Ongoing tasks'
},
{