Skip to content

Commit

Permalink
add dataset -> submission form
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Oct 23, 2023
1 parent 79331f6 commit e4e3b11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/DACDatasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function DACDatasets(props) {
<div>
<Button
className={style['add-button']}
onClick={() => history.push({pathname: isDevEnv() ? 'data_submission_form' : 'dataset_registration'})}
onClick={() => history.push('data_submission_form')}
variant="outlined">
<div style={{verticalAlign: 'center', color: '#0948B7'}}>
<span
Expand Down
2 changes: 1 addition & 1 deletion src/pages/DatasetCatalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export default function DatasetCatalog(props) {
button({
id: 'btn_addDataset',
isRendered: (currentUser.isAdmin || currentUser.isChairPerson),
onClick: () => props.history.push({ pathname: isDevEnv() ? 'data_submission_form' : 'dataset_registration' }),
onClick: () => props.history.push('data_submission_form'),
className: `f-right btn-primary ${color}-background search-wrapper`,
'data-tip': 'Add a new Dataset', 'data-for': 'tip_addDataset'
}, ['Add Dataset',
Expand Down

0 comments on commit e4e3b11

Please sign in to comment.