diff --git a/src/templates/Dataset/index.tsx b/src/templates/Dataset/index.tsx index 4c23b520..cf8cb282 100644 --- a/src/templates/Dataset/index.tsx +++ b/src/templates/Dataset/index.tsx @@ -60,7 +60,7 @@ const Dataset = ({ defaultPageSize = 25, dataDictionaryCSV = false, dataDictionaryBanner = false, - datasetTableControls = false, + disableTableControls = false, } : DatasetPageType) => { const options = location.search ? { ...qs.parse(location.search, { ignoreQueryPrefix: true }) } @@ -195,7 +195,7 @@ const Dataset = ({ rootUrl: rootUrl, customColumns: customColumns, dataDictionaryBanner: (dataDictionaryBanner && displayDataDictionaryTab), - datasetTableControls: datasetTableControls + datasetTableControls: !disableTableControls }}> diff --git a/src/types/dataset.ts b/src/types/dataset.ts index 6fda5885..cce91826 100644 --- a/src/types/dataset.ts +++ b/src/types/dataset.ts @@ -70,7 +70,7 @@ export type DatasetPageType = { defaultPageSize: Number, dataDictionaryCSV: boolean, dataDictionaryBanner: boolean, - datasetTableControls: boolean, + disableTableControls: boolean, }