Skip to content

Commit

Permalink
ts error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ehconitin committed Oct 13, 2024
1 parent 6c0959b commit 864c786
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@ export const SettingsNavigationDrawerItems = () => {
path: SettingsPath.AccountsEmails,
Icon: IconMail,
indentationLevel: 2,
matchSubPages: true,
},
{
label: 'Calendars',
path: SettingsPath.AccountsCalendars,
Icon: IconCalendarEvent,
indentationLevel: 2,
matchSubPages: true,
},
];

Expand All @@ -107,7 +109,7 @@ export const SettingsNavigationDrawerItems = () => {
return matchPath(
{
path: pathName,
end: !accountSubSetting.matchSubPages ?? true,
end: accountSubSetting.matchSubPages,
},
currentPathName,
);
Expand Down

0 comments on commit 864c786

Please sign in to comment.