diff --git a/app/components/navigation/RoleSwitcher.vue b/app/components/navigation/RoleSwitcher.vue index b35c013..e288d6f 100644 --- a/app/components/navigation/RoleSwitcher.vue +++ b/app/components/navigation/RoleSwitcher.vue @@ -12,7 +12,7 @@ import { import { Button } from '@/components/ui/button' // User role types matching our database schema -type UserRole = 'individual' | 'educator' | 'company' +type UserRole = 'private' | 'educator' | 'company' interface RoleOption { value: UserRole @@ -26,7 +26,7 @@ interface RoleOption { const roles: RoleOption[] = [ { - value: 'individual', + value: 'private', label: 'Privatperson', description: 'Private Nutzung', icon: User, @@ -54,7 +54,7 @@ const roles: RoleOption[] = [ ] // Current role - will come from user session later -const currentRole = ref('individual') +const currentRole = ref('private') const currentRoleData = computed(() => { return roles.find((r) => r.value === currentRole.value) || roles[0] @@ -100,8 +100,9 @@ function switchRole(role: UserRole) {
{{ role.label }} - {{ - role.description }} + {{ + role.description }}