diff --git a/src/common/app.nav.ts b/src/common/app.nav.ts index e72536dfa..48f5ebbee 100644 --- a/src/common/app.nav.ts +++ b/src/common/app.nav.ts @@ -44,6 +44,7 @@ interface ItemBase { export interface NavItemApp extends ItemBase { type: 'app', + mobileName?: string, route: string, landingRoute?: string, // specify a different route than the nextjs page router route, to land to barTitle?: string, // set to override the name as the bar title (unless custom bar content is used) diff --git a/src/common/layout/optima/nav/MobileNav.tsx b/src/common/layout/optima/nav/MobileNav.tsx index 17b16c654..02036101a 100644 --- a/src/common/layout/optima/nav/MobileNav.tsx +++ b/src/common/layout/optima/nav/MobileNav.tsx @@ -35,7 +35,7 @@ export function MobileNav(props: { return ( Router.push(app.landingRoute || app.route)} className={`${mobileNavItemClasses.typeApp} ${isActive ? mobileNavItemClasses.active : ''}`} diff --git a/src/common/layout/optima/nav/MobileNavItems.tsx b/src/common/layout/optima/nav/MobileNavItems.tsx index 44d86c109..59a1f2431 100644 --- a/src/common/layout/optima/nav/MobileNavItems.tsx +++ b/src/common/layout/optima/nav/MobileNavItems.tsx @@ -56,14 +56,14 @@ export function MobileNavItems(props: { currentApp?: NavItemApp }) { const isActive = app === props.currentApp; return ( ); })}