diff --git a/src/Routes.jsx b/src/Routes.jsx index 2f5fce388..fed9fdcdb 100644 --- a/src/Routes.jsx +++ b/src/Routes.jsx @@ -1,5 +1,6 @@ import React from 'react'; import {Redirect, Route, Switch} from 'react-router-dom'; +import { StudyDetails } from './components/study_details/StudyDetails'; import AuthenticatedRoute from './components/AuthenticatedRoute'; import {USER_ROLES} from './libs/utils'; import ManageDac from './pages/manage_dac/ManageDac'; @@ -47,65 +48,66 @@ import EditDac from './pages/manage_dac/EditDac'; const Routes = (props) => ( - } /> - } /> - } /> - - } /> + } /> + } /> + + checkEnv(envGroups.NON_STAGING) ? : } /> - - - - - - - - - - - - - - - - - {DAAUtils.isEnabled() && } - {DAAUtils.isEnabled() && } - - - - - - + + + + + + + + + + + + + + + + {DAAUtils.isEnabled() && } + {DAAUtils.isEnabled() && } + + + + + + - {/* Order is important for processing links with embedded dataRequestIds */} - - - - {DAAUtils.isEnabled() && } - - {DAAUtils.isEnabled() && } - - - - - - - - - - - - - {checkEnv(envGroups.NON_PROD) && } - + + + {DAAUtils.isEnabled() && } + + {DAAUtils.isEnabled() && } + + + + + + + + + + + + + + {checkEnv(envGroups.NON_PROD) && } + ); diff --git a/src/components/DuosHeader.jsx b/src/components/DuosHeader.jsx index b1fc90ca0..80b73e33f 100644 --- a/src/components/DuosHeader.jsx +++ b/src/components/DuosHeader.jsx @@ -160,26 +160,26 @@ const NavigationTabsComponent = (props) => { return (
{makeNotifications()} -