feat: hide logout button when admin is not logged in
- Add conditional rendering for "Abmelden" button based on isAdminLoggedIn state - Button only appears when localStorage contains "isAdminLoggedIn": "true" - Improves UI cleanliness by hiding unnecessary logout option for regular users - Maintains existing admin warning banner and logout functionality when needed
This commit is contained in:
@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
|
||||
NEXT_PUBLIC_EXPORT_STATIC=true
|
||||
NEXT_PUBLIC_USE_CGI=true
|
||||
# App-Versionsnummer
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.669
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.670
|
||||
NEXT_PUBLIC_CPL_MODE=production
|
||||
Reference in New Issue
Block a user