Skip to content

Commit

Permalink
get dacName from dac instead of deprecated top level prop
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Nov 9, 2023
1 parent aaca791 commit 0028ce6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/data_search/DatasetSearchTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export const DatasetSearchTable = (props) => {
value: dataset.dataLocation,
},
{
value: dataset.dacName,
value: dataset.dac?.dacName,
},
],
};
Expand Down
2 changes: 1 addition & 1 deletion src/pages/researcher_console/DatasetSubmissionsTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function DatasetSubmissionsTable(props) {
datasetName: term.datasetName,
dataSubmitter: term.createUserDisplayName,
datasetCustodians: custodians,
dac: term.dacName,
dac: term.dac?.dacName,
dataUse: join(', ')(concat(primaryCodes)(secondaryCodes)),
status: status,
actions: editButton
Expand Down

0 comments on commit 0028ce6

Please sign in to comment.