When roles API fails to load or roleId doesn't match a loaded role, selectedRoleKey() returns empty string. Fall back to formRoleKey() in all three DashboardDesignPreview instances (compact, full_preview tab, fullscreen overlay) so the role-specific preview always renders correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin | ||
| api/gateway | ||
| [...404].tsx | ||
| about.tsx | ||
| admin.tsx | ||
| index.tsx | ||
| login.tsx | ||