Skip to content

Commit

Permalink
(Temproarily disable ingest page from frontend for stable release)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrdiNeu committed Oct 25, 2023
1 parent 3b8963f commit b192437
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/menu-items/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clinicalGenomicSearch from './clinicalGenomicSearch';
import summary from './summary';
import ingest from './ingest';
// import ingest from './ingest';

// import pages from './pages';
// import utilities from './utilities';
Expand All @@ -9,7 +9,7 @@ import ingest from './ingest';
// ===========================|| MENU ITEMS ||=========================== //

const menuItems = {
items: [summary, clinicalGenomicSearch, ingest /* pages, utilities, other */]
items: [summary, clinicalGenomicSearch /* , ingest, pages, utilities, other */]
};

export default menuItems;
6 changes: 3 additions & 3 deletions src/routes/MainRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Summary = Loadable(lazy(() => import('views/summary/summary')));
const ClinicalGenomicSearch = Loadable(lazy(() => import('views/clinicalGenomic/clinicalGenomicSearch')));

// Ingest Portal
const IngestPortal = Loadable(lazy(() => import('views/ingest/ingest')));
// const IngestPortal = Loadable(lazy(() => import('views/ingest/ingest')));

// Error Pages
const ErrorNotFoundPage = Loadable(lazy(() => import('views/errorPages/ErrorNotFoundPage')));
Expand All @@ -44,10 +44,10 @@ const MainRoutes = {
path: `${basename}/clinicalGenomicSearch`,
element: <ClinicalGenomicSearch />
},
{
/* {
path: `${basename}/data-ingest`,
element: <IngestPortal />
},
}, */
{
path: '*',
element: <ErrorNotFoundPage />
Expand Down
5 changes: 1 addition & 4 deletions src/ui-component/ingest/IngestMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ function IngestMenu() {
const [genomicFile, setGenomicFile] = useState(undefined);
const [ingestState, setIngestState] = useState(IngestStates.PENDING);
const [ingestError, setIngestError] = useState('');
const setTab = (event, val) => {
setValue(val);
};

const useStyles = makeStyles({
tabActive: {
Expand Down Expand Up @@ -148,7 +145,7 @@ function IngestMenu() {
<Box sx={{ width: '100%' }}>
<Tabs
value={value}
onChange={setTab}
onChange={(_, value) => setValue(value)}
variant="fullWidth"
sx={{ width: '100%' }}
TabIndicatorProps={{
Expand Down

0 comments on commit b192437

Please sign in to comment.