From a0ac6405c2bce62d1a679313d774b2446a6992d8 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 16 Sep 2021 23:20:23 -0400 Subject: [PATCH] Fix navigator tab null issue --- src/views/navigator/NavigatorView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }>