diff --git a/src/core/public/chrome/ui/header/header.tsx b/src/core/public/chrome/ui/header/header.tsx index ad074240a61b..12d48837abe8 100644 --- a/src/core/public/chrome/ui/header/header.tsx +++ b/src/core/public/chrome/ui/header/header.tsx @@ -140,7 +140,7 @@ export function Header({ * when user is in homepage with workspace enabled + new navigation enabled */ const shouldHideExpandIcon = - navGroupEnabled && appId === 'home' && application.capabilities?.workspaces?.enabled; + navGroupEnabled && appId === 'home' && application.capabilities.workspaces.enabled; const sidecarPaddingStyle = useMemo(() => { return getOsdSidecarPaddingStyle(sidecarConfig);