The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(navigation): settings drawer should never appear collapsed (#20505)
gusfromspace068fc9363d91
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsxindex 20a10907ad6..d05e350dc41 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx@@ -114,19 +114,21 @@ export const NavigationDrawer = ({setTableWidthResizeIsActive(false);};+ const isExpanded = isSettingsDrawer || isNavigationDrawerExpanded;+return (<><NavigationDrawerWidthEffect /><StyledAnimatedContainerclassName={className}data-click-outside-id={NAVIGATION_DRAWER_CLICK_OUTSIDE_ID}- isExpanded={isNavigationDrawerExpanded}+ isExpanded={isExpanded}isResizing={isResizing}><StyledContainerisSettings={isSettingsDrawer}isMobile={isMobile}- isExpanded={isNavigationDrawerExpanded}+ isExpanded={isExpanded}>{isSettingsDrawer && title ? (<NavigationDrawerBackButton title={title} />