Fix: prevent record navigation when clicking Remove from favorite in nav sidebar (#18760)
https://github.com/user-attachments/assets/96abf04d-726a-4225-846e-e5d701a583a2 --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
+2
-4
@@ -40,8 +40,7 @@ export const SettingsNavigationDrawerItem = ({
|
||||
to={href}
|
||||
Icon={item.Icon}
|
||||
active={isActive}
|
||||
soon={item.soon}
|
||||
isNew={item.isNew}
|
||||
modifier={item.modifier}
|
||||
onClick={item.onClick}
|
||||
/>
|
||||
</AdvancedSettingsWrapper>
|
||||
@@ -56,8 +55,7 @@ export const SettingsNavigationDrawerItem = ({
|
||||
to={href || undefined}
|
||||
Icon={item.Icon}
|
||||
active={isActive}
|
||||
soon={item.soon}
|
||||
isNew={item.isNew}
|
||||
modifier={item.modifier}
|
||||
onClick={item.onClick}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user