Skip to content

The open alternative to Salesforce, designed for AI.

minor - ts error fix (#7635)

nitin5ca47507dc87
diff --git a/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx b/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx
index 8ca0f3ea214..e5f6dca4ee7 100644
--- a/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx
+++ b/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx
@@ -107,7 +107,7 @@ export const SettingsNavigationDrawerItems = () => {
return matchPath(
{
path: pathName,
- end: !accountSubSetting.matchSubPages ?? true,
+ end: accountSubSetting.matchSubPages === false,
},
currentPathName,
);