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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user