Berichten: instellingen naar tabblad, schakelaar rechts in de kop, toegankelijke tabs met ?tab=settings

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 18:08:14 +01:00
co-authored by Claude Sonnet 5.5
parent eb6472ea61
commit fccb85a983
8 changed files with 335 additions and 94 deletions
+3
View File
@@ -272,6 +272,9 @@ const offeringsEditRoute = createRoute({
const messagesRoute = createRoute({
getParentRoute: () => authenticatedRoute,
path: '/messages',
validateSearch: (search: Record<string, unknown>): { tab?: 'settings' } => ({
tab: search.tab === 'settings' ? 'settings' : undefined,
}),
component: () => (
<RoleGuard allowedRoles={['Owner', 'Administrator']}>
<ModuleGuard requiredModule="Contact">