From 7ab4b51d12cc9eaf19b7edf0cec668df427382c5 Mon Sep 17 00:00:00 2001 From: Gaurav Vaidya Date: Wed, 3 Jan 2024 14:00:08 -0500 Subject: [PATCH] Going to plan 2. --- bin/populate_env | 2 +- .../concept-modal/tabs/cdes/cde-item.js | 5 -- .../tabs/studies/study-variable.js | 49 ++++++++++--------- 3 files changed, 27 insertions(+), 29 deletions(-) diff --git a/bin/populate_env b/bin/populate_env index 280f086f..00849083 100755 --- a/bin/populate_env +++ b/bin/populate_env @@ -62,4 +62,4 @@ echo "$template" | sed \ -e "s/%ANALYTICS_TOKEN%/$analytics_token/" \ -e "s/%META_TITLE%/$meta_title/" \ -e "s/%META_DESCRIPTION%/$meta_description/" \ - > $1 \ No newline at end of file + > $1 diff --git a/src/components/search/concept-modal/tabs/cdes/cde-item.js b/src/components/search/concept-modal/tabs/cdes/cde-item.js index f88f441f..059d790e 100644 --- a/src/components/search/concept-modal/tabs/cdes/cde-item.js +++ b/src/components/search/concept-modal/tabs/cdes/cde-item.js @@ -81,11 +81,6 @@ export const CdeItem = ({ cde, cdeRelatedConcepts, highlight }) => {
diff --git a/src/components/search/concept-modal/tabs/studies/study-variable.js b/src/components/search/concept-modal/tabs/studies/study-variable.js index aa041ac7..de4a0c94 100644 --- a/src/components/search/concept-modal/tabs/studies/study-variable.js +++ b/src/components/search/concept-modal/tabs/studies/study-variable.js @@ -12,28 +12,31 @@ export const StudyVariable = ({ variable, highlight, ...props }) => { analyticsEvents.variableLinkClicked(variable.id) } return ( -
- -   - ({ variable.e_link ? { variable.id } : variable.id }) -
- - - -
    -
  • TAPSPrescriptionMedUseScl from Tobacco, Alcohol, Prescription medications, and other Substance (TAPS)
  • -
-
+ <> +
+ Related to CDEs in Tobacco, Alcohol, Prescription medications, and other Substance (TAPS)
+
+ +   + ({variable.e_link ? + {variable.id} : variable.id}) +
+ + + +
+ ) } \ No newline at end of file