fix(theme): stabilize tenant switch theme propagation and toggle race handling

Task: REVIEW-USER-THEME-001
This commit is contained in:
2026-03-07 20:14:29 +01:00
parent e3a0c0eb37
commit fb6f87374f
10 changed files with 596 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ if (Request::wantsJson()) {
'ok' => true,
'tenant_id' => $tenantId,
'tenant' => $result['tenant'] ?? null,
'theme' => currentTheme(),
]);
return;
}