- Removed logout item from settings navigation drawer - Removed logout locator and method from E2E tests - Removed logout item from NavigationDrawer story The logout functionality is now exclusively available through the menu switcher, making the UI more consistent and reducing duplication. Closes #11036 <img width="851" alt="Screenshot 2025-03-19 at 9 46 33 PM" src="https://github.com/user-attachments/assets/3d73ec84-a2b7-4c4d-9605-dc83a9a760c1" /> --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@ -11,9 +11,9 @@ import {
|
||||
IconCalendarEvent,
|
||||
IconCheckbox,
|
||||
IconColorSwatch,
|
||||
IconDoorEnter,
|
||||
IconMail,
|
||||
IconSearch,
|
||||
IconServer,
|
||||
IconSettings,
|
||||
IconTargetArrow,
|
||||
IconUser,
|
||||
@ -184,7 +184,11 @@ export const Settings: Story = {
|
||||
|
||||
<NavigationDrawerSection>
|
||||
<NavigationDrawerSectionTitle label="Other" />
|
||||
<NavigationDrawerItem label="Logout" Icon={IconDoorEnter} />
|
||||
<NavigationDrawerItem
|
||||
label="Admin Panel"
|
||||
to={getSettingsPath(SettingsPath.AdminPanel)}
|
||||
Icon={IconServer}
|
||||
/>
|
||||
</NavigationDrawerSection>
|
||||
</>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user