Add profile routes to backend and frontend; implement user state handling for holidays and workdays, and update UI components for profile settings

This commit is contained in:
Torsten Schulz (local)
2025-10-17 23:03:29 +02:00
parent 67ddf812cd
commit b2cef4d306
11 changed files with 738 additions and 76 deletions

View File

@@ -16,6 +16,7 @@ import Sick from '../views/Sick.vue'
import Workdays from '../views/Workdays.vue'
import Calendar from '../views/Calendar.vue'
import Holidays from '../views/Holidays.vue'
import Profile from '../views/Profile.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -98,6 +99,12 @@ const router = createRouter({
component: Holidays,
meta: { requiresAuth: true, requiresAdmin: true }
},
{
path: '/settings/profile',
name: 'settings-profile',
component: Profile,
meta: { requiresAuth: true }
},
{
path: '/entries',
name: 'entries',