From 28ff24603b006632133af7f71db5c0a585f91af6 Mon Sep 17 00:00:00 2001 From: Greg Rushton Date: Mon, 18 Sep 2023 19:38:34 -0400 Subject: [PATCH] add dac approval to the check --- src/pages/DatasetCatalog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/DatasetCatalog.js b/src/pages/DatasetCatalog.js index 64f6e1c9a..8711b761d 100644 --- a/src/pages/DatasetCatalog.js +++ b/src/pages/DatasetCatalog.js @@ -25,7 +25,7 @@ const tableBody = { }; const canApplyForDataset = (dataset) => { - return !isNil(dataset.dacId); + return !isNil(dataset.dacId) && dataset.dacApproval; }; const extractDatasetProp = (propertyName, dataset) => {