File tree Expand file tree Collapse file tree
app/viewModelBuilders/azul/anvil-cmg/common
site-config/anvil-cmg/dev/export Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1864,12 +1864,12 @@ export const renderWhenUnAuthenticated = (
18641864} ;
18651865
18661866/**
1867- * Renders dataset export-related components when the given dataset has NRES consent group .
1867+ * Renders cohort curl download component when the current query includes NRES or Unrestricted access consent groups .
18681868 * @param _ - Unused.
18691869 * @param viewContext - View context.
18701870 * @returns model to be used as props for the ConditionalComponent component.
18711871 */
1872- export const renderCurlDownload = (
1872+ export const renderCohortCurlDownload = (
18731873 _ : unknown ,
18741874 viewContext : ViewContext < DatasetsResponse >
18751875) : ComponentProps < typeof C . ConditionalComponent > => {
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ export const exportConfig: ExportConfig = {
218218 } as ComponentConfig < typeof C . ExportMethod > ,
219219 ] ,
220220 component : C . ConditionalComponent ,
221- viewBuilder : V . renderCurlDownload ,
221+ viewBuilder : V . renderCohortCurlDownload ,
222222 } ,
223223 {
224224 component : C . ExportMethod ,
You can’t perform that action at this time.
0 commit comments