Add workdays routes to backend and frontend; update routing and UI components for workdays tracking
This commit is contained in:
@@ -13,6 +13,7 @@ import WeekOverview from '../views/WeekOverview.vue'
|
||||
import Timefix from '../views/Timefix.vue'
|
||||
import Vacation from '../views/Vacation.vue'
|
||||
import Sick from '../views/Sick.vue'
|
||||
import Workdays from '../views/Workdays.vue'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
@@ -77,6 +78,12 @@ const router = createRouter({
|
||||
component: Sick,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/bookings/workdays',
|
||||
name: 'workdays',
|
||||
component: Workdays,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/entries',
|
||||
name: 'entries',
|
||||
|
||||
Reference in New Issue
Block a user