From 56d0b5ef4195fba6b946fc31731d6bac1c492a8c Mon Sep 17 00:00:00 2001 From: Jay Hodgson Date: Fri, 13 Oct 2023 12:15:38 -0700 Subject: [PATCH] custom plot for participants view only --- .../configurations/elportal/synapseConfigs/cohortbuilder.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/portals/src/configurations/elportal/synapseConfigs/cohortbuilder.ts b/apps/portals/src/configurations/elportal/synapseConfigs/cohortbuilder.ts index fee9b54158..9cd41e4806 100644 --- a/apps/portals/src/configurations/elportal/synapseConfigs/cohortbuilder.ts +++ b/apps/portals/src/configurations/elportal/synapseConfigs/cohortbuilder.ts @@ -61,7 +61,7 @@ const getPlotConfig = (tableId: string) => { xtitle: 'Age (years)', ytitle: '', // barmode: '' - showlegend: 'false', + showlegend: false, onCustomPlotClick: handlePlotClick, } return plotConfig @@ -119,9 +119,6 @@ export const individualsView: SynapseConfig = { }, } -const filesTableId = SynapseUtilityFunctions.parseEntityIdFromSqlStatement( - cohortBuilderFilesSql, -) export const filesView: SynapseConfig = { name: 'QueryWrapperPlotNav', props: { @@ -141,7 +138,6 @@ export const filesView: SynapseConfig = { minFacetColumn: 'minAge', maxFacetColumn: 'maxAge', }, - customPlots: [getPlotConfig(filesTableId)], tableConfiguration: { showAccessColumn: true, showDownloadColumn: true,