Skip to content

Commit

Permalink
(update) : added flag to call the get_json_response API.
Browse files Browse the repository at this point in the history
  • Loading branch information
sohitkumar committed Oct 3, 2024
1 parent 9ca73e1 commit e798672
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ const DataTableForDatasetView = ({
file_path;
// if user does have the access to that particular file or it belongs to his/her own dataset
if (
(window?.ENV_VARS?.REACT_APP_INSTANCE === "KADP" ||
process.env.REACT_APP_INSTANCE === "KADP") &&
usagePolicy &&
(!isOther ||
usagePolicy[0]?.approval_status === "approved" ||
Expand Down

0 comments on commit e798672

Please sign in to comment.