diff --git a/src/views/navigator/NavigatorView.tsx b/src/views/navigator/NavigatorView.tsx index 49c05fae..892fa2ae 100644 --- a/src/views/navigator/NavigatorView.tsx +++ b/src/views/navigator/NavigatorView.tsx @@ -221,7 +221,7 @@ export const NavigatorView: FC = props => setIsVisible(false) } /> - { topLevelContexts.map((context, index) => + { topLevelContexts && (topLevelContexts.length > 0) && topLevelContexts.map((context, index) => { return ( sendSearch('', context.code) }>