der tenant admin hat eine neue, mobil unterstützende UI, login redirect funktioniert, typescript fehler wurden bereinigt. Neue Blog Posts von ChatGPT eingebaut, übersetzt von Gemini 2.5
This commit is contained in:
@@ -4,8 +4,15 @@ import { type SharedData } from '@/types';
|
||||
|
||||
export default function AppLogo() {
|
||||
const { translations } = usePage<SharedData>().props;
|
||||
const areaLabel =
|
||||
(translations?.dashboard?.navigation?.group_label as string | undefined) ?? 'Kundenbereich';
|
||||
const navigationTranslations =
|
||||
translations && typeof translations.dashboard === 'object' && translations.dashboard !== null
|
||||
? (translations.dashboard as Record<string, unknown>).navigation
|
||||
: null;
|
||||
const groupLabel =
|
||||
navigationTranslations && typeof navigationTranslations === 'object' && navigationTranslations !== null
|
||||
? (navigationTranslations as Record<string, unknown>).group_label
|
||||
: null;
|
||||
const areaLabel = typeof groupLabel === 'string' ? groupLabel : 'Kundenbereich';
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-3">
|
||||
|
||||
Reference in New Issue
Block a user