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', path: '/app/dashboard/tasks',
name: 'Dashboard - Tasks', name: 'Dashboard - Tasks',
meta: { title: 'Úlohy' },
component: () => import('@/plugins/tm@dashboard/tasks/tasks.vue') component: () => import('@/plugins/tm@dashboard/tasks/tasks.vue')
}, },
{ {
path: '/app/dashboard/teams', path: '/app/dashboard/teams',
name: 'Dashboard - Teams', name: 'Dashboard - Teams',
meta: { title: 'Tímové zobrazenie' },
component: () => import('@/plugins/tm@dashboard/teams/teams.vue') component: () => import('@/plugins/tm@dashboard/teams/teams.vue')
}, },
{ {
path: '/app/dashboard/projects', path: '/app/dashboard/projects',
name: 'Dashboard - Projects', name: 'Dashboard - Projects',
meta: { title: 'Projektové zobrazenie' },
component: () => import('@/plugins/tm@dashboard/projects/projects.vue') component: () => import('@/plugins/tm@dashboard/projects/projects.vue')
}, },
{ {
path: '/app/overview/unscheduled', path: '/app/overview/unscheduled',
name: 'Overview - Unscheduled tasks', name: 'Overview - Unscheduled tasks',
meta: { title: 'Nenaplánované úlohy' },
component: () => import('@/plugins/tm@overview/tasks-unscheduled/tasks-unscheduled.vue') component: () => import('@/plugins/tm@overview/tasks-unscheduled/tasks-unscheduled.vue')
}, },
{ {
path: '/app/overview/ongoing', path: '/app/overview/ongoing',
name: 'Overview - Ongoing tasks', name: 'Overview - Ongoing tasks',
meta: { title: 'Prebiehajúce úlohy' },
component: () => import('@/plugins/tm@overview/tasks-ongoing/tasks-ongoing.vue') component: () => import('@/plugins/tm@overview/tasks-ongoing/tasks-ongoing.vue')
}, },
{ {
path: '/app/overview/teams', path: '/app/overview/teams',
name: 'Overview - Teams', name: 'Overview - Teams',
meta: { title: 'Tímy' },
component: () => import('@/plugins/tm@overview/teams/teams.vue') 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> <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"> <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"> <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" /> <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' pageName: 'Overview - Unscheduled tasks'
}, },
{ {
title: 'Ongoing tasky', title: 'Prebiehajúce úlohy',
pageName: 'Overview - Ongoing tasks' pageName: 'Overview - Ongoing tasks'
}, },
{ {