fix(nav): Sicherheit/2FA & Konto-Datenschutz im Benutzer-Menü auffindbar (v1.8.3)
2FA lag unter /settings, war aber über kein Menü erreichbar. Neu im Benutzer-Menü (Desktop-Dropdown + Mobil-Menü): "Sicherheit & 2FA" (→ /settings) und "Konto & Datenschutz" (→ /konto/datenschutz). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "lageplan",
|
"name": "lageplan",
|
||||||
"version": "1.8.2",
|
"version": "1.8.3",
|
||||||
"description": "Feuerwehr Lageplan - Krokier-App für Einsatzdokumentation",
|
"description": "Feuerwehr Lageplan - Krokier-App für Einsatzdokumentation",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -370,6 +370,14 @@ export function Topbar({
|
|||||||
<Key className="w-4 h-4 mr-2" />
|
<Key className="w-4 h-4 mr-2" />
|
||||||
Kennwort ändern
|
Kennwort ändern
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
|
<DropdownMenuItem onClick={() => window.location.href = '/settings'}>
|
||||||
|
<Lock className="w-4 h-4 mr-2" />
|
||||||
|
Sicherheit & 2FA
|
||||||
|
</DropdownMenuItem>
|
||||||
|
<DropdownMenuItem onClick={() => window.location.href = '/konto/datenschutz'}>
|
||||||
|
<Shield className="w-4 h-4 mr-2" />
|
||||||
|
Konto & Datenschutz
|
||||||
|
</DropdownMenuItem>
|
||||||
{(userRole === 'SERVER_ADMIN' || userRole === 'TENANT_ADMIN') && (
|
{(userRole === 'SERVER_ADMIN' || userRole === 'TENANT_ADMIN') && (
|
||||||
<DropdownMenuItem onClick={() => window.location.href = '/admin'}>
|
<DropdownMenuItem onClick={() => window.location.href = '/admin'}>
|
||||||
<Shield className="w-4 h-4 mr-2" />
|
<Shield className="w-4 h-4 mr-2" />
|
||||||
@@ -492,6 +500,14 @@ export function Topbar({
|
|||||||
<Key className="w-4 h-4 mr-2" />
|
<Key className="w-4 h-4 mr-2" />
|
||||||
Kennwort ändern
|
Kennwort ändern
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
|
<DropdownMenuItem onClick={() => window.location.href = '/settings'}>
|
||||||
|
<Lock className="w-4 h-4 mr-2" />
|
||||||
|
Sicherheit & 2FA
|
||||||
|
</DropdownMenuItem>
|
||||||
|
<DropdownMenuItem onClick={() => window.location.href = '/konto/datenschutz'}>
|
||||||
|
<Shield className="w-4 h-4 mr-2" />
|
||||||
|
Konto & Datenschutz
|
||||||
|
</DropdownMenuItem>
|
||||||
{onLogout && (
|
{onLogout && (
|
||||||
<DropdownMenuItem onClick={onLogout} className="text-destructive focus:text-destructive">
|
<DropdownMenuItem onClick={onLogout} className="text-destructive focus:text-destructive">
|
||||||
<LogOut className="w-4 h-4 mr-2" />
|
<LogOut className="w-4 h-4 mr-2" />
|
||||||
|
|||||||
Reference in New Issue
Block a user