The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fixs #9456 : Workspace switcher font weight (#9591)
Supriyof151963e66d3
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdownButton.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdownButton.tsxindex 7d7f718f567..b2b1d0de940 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdownButton.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdownButton.tsx@@ -45,6 +45,7 @@ const StyledContainer = styled.div<{ isNavigationDrawerExpanded: boolean }>`const StyledLabel = styled.div`align-items: center;display: flex;+ font-weight: ${({ theme }) => theme.font.weight.medium};`;const StyledIconChevronDown = styled(IconChevronDown)<{ disabled?: boolean }>`diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsxindex 5934d54780a..079964535a4 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerHeader.tsx@@ -57,11 +57,12 @@ export const NavigationDrawerHeader = ({isNavigationDrawerExpandedState,);+ const isMultiWorkspace =+ isMultiWorkspaceEnabled && workspaces !== null && workspaces.length > 1;+return (<StyledContainer>- {isMultiWorkspaceEnabled &&- workspaces !== null &&- workspaces.length > 1 ? (+ {isMultiWorkspace ? (<MultiWorkspaceDropdownButton workspaces={workspaces} />) : (<StyledSingleWorkspaceContainer>