+ Technische Systeminformationen + {' — App-Version, Build, Umgebung, Datenbankschema'} +
) } diff --git a/frontend/src/pages/Dashboard.jsx b/frontend/src/pages/Dashboard.jsx index 0efd99c..6dc8ee9 100644 --- a/frontend/src/pages/Dashboard.jsx +++ b/frontend/src/pages/Dashboard.jsx @@ -19,7 +19,6 @@ function formatCappedCount(n, capped) { } function Dashboard() { - const [version, setVersion] = useState(null) const [profile, setProfile] = useState(null) const [loading, setLoading] = useState(true) const [trainingHome, setTrainingHome] = useState(null) @@ -146,8 +145,7 @@ function Dashboard() { const loadData = async () => { try { - const [versionData, profileData] = await Promise.all([api.getVersion(), api.getCurrentProfile()]) - setVersion(versionData) + const profileData = await api.getCurrentProfile() setProfile(profileData) } catch (err) { console.error('Failed to load data:', err) @@ -372,34 +370,6 @@ function Dashboard() { > ) : null} - - {version ? ( -+ + ← Zurück zu Einstellungen + +
++ Build, Umgebung und Schema-Stand der App — hilfreich für Support oder nach Deployments. Tarif und Rolle + beziehen sich auf dein Konto. +
+ + {loading ? ( ++ Version wird geladen… +
+ ) : null} + {err ? ( ++ {err} +
+ ) : null} + + {version ? ( +