Files
CPLv4.0/components
ISA 140444d046 feat: Toggle "Admin anmelden" to "Admin abmelden" based on admin login status
- Implemented dynamic button label in SettingsModal to display "Admin anmelden" or "Admin abmelden" based on Redux state `isAdminLoggedIn`.
- Added `handleAdminLogout` function to clear token from localStorage and update Redux state when admin logs out.
- Refactored button click handling to toggle login/logout functionality seamlessly.
2024-11-14 15:22:38 +01:00
..