Skip to content

Commit

Permalink
add dac approval to the check
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Sep 18, 2023
1 parent 9a4bd05 commit 28ff246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/DatasetCatalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const tableBody = {
};

const canApplyForDataset = (dataset) => {
return !isNil(dataset.dacId);
return !isNil(dataset.dacId) && dataset.dacApproval;
};

const extractDatasetProp = (propertyName, dataset) => {
Expand Down

0 comments on commit 28ff246

Please sign in to comment.