From 5ca47507dc875036cc947ef8bc1ba1d9065aab79 Mon Sep 17 00:00:00 2001 From: nitin <142569587+ehconitin@users.noreply.github.com> Date: Sun, 13 Oct 2024 18:20:29 +0530 Subject: [PATCH] minor - ts error fix (#7635) @FelixMalfait :) follow up - #7628 --- .../settings/components/SettingsNavigationDrawerItems.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx b/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx index 8ca0f3ea2..e5f6dca4e 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, );