diff --git a/src/pages/data_submitter_console/DataSubmitterDatasetsTable.jsx b/src/pages/data_submitter_console/DataSubmitterDatasetsTable.jsx index ff861234d..3ee4e4dd9 100644 --- a/src/pages/data_submitter_console/DataSubmitterDatasetsTable.jsx +++ b/src/pages/data_submitter_console/DataSubmitterDatasetsTable.jsx @@ -4,6 +4,7 @@ import {Notifications} from '../../libs/utils'; import loadingIndicator from '../../images/loading-indicator.svg'; import SortableTable from '../../components/sortable_table/SortableTable'; import {concat, isNil, join} from 'lodash/fp'; +import Button from '@mui/material/Button'; export default function DataSubmitterDatasetsTable(props) { @@ -73,6 +74,14 @@ export default function DataSubmitterDatasetsTable(props) { const status = isNil(dataset.dacApproval) ? 'Pending' : (dataset.dacApproval ? 'Accepted' : 'Rejected'); const primaryCodes = dataset.dataUse?.primary.map(du => du.code); const secondaryCodes = dataset.dataUse?.secondary.map(du => du.code); + const editButton = (status === 'Accepted') ? +
: +