Add site manager and initial validation
[arvados-workbench2.git] / src / views-components / main-content-bar / main-content-bar.tsx
index 78b79a8ed46bf0f70737fa412178d421fa0562fb..8b8f9891264fba26f2039e20c1e3addce80cf009 100644 (file)
@@ -20,7 +20,8 @@ const isButtonVisible = ({ router }: RootState) => {
     const pathname = router.location ? router.location.pathname : '';
     return !Routes.matchWorkflowRoute(pathname) && !Routes.matchVirtualMachineRoute(pathname) &&
         !Routes.matchRepositoriesRoute(pathname) && !Routes.matchSshKeysRoute(pathname) &&
-        !Routes.matchKeepServicesRoute(pathname) && !Routes.matchComputeNodesRoute(pathname);
+        !Routes.matchKeepServicesRoute(pathname) && !Routes.matchComputeNodesRoute(pathname) &&
+        !Routes.matchSiteManagerRoute(pathname);
 };
 
 export const MainContentBar = connect((state: RootState) => ({