From 12ee7e12fa3926359fb0c4b7dab5569f7ffa249e Mon Sep 17 00:00:00 2001 From: MEGIN Date: Tue, 13 Aug 2024 11:27:00 +0530 Subject: [PATCH] fix: hide the drilldown of QE FHIR #239 --- hub-prime/pom.xml | 2 +- .../page/diagnostics/needs-attention.html | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/hub-prime/pom.xml b/hub-prime/pom.xml index f41a0ad3632..9208bff69e2 100644 --- a/hub-prime/pom.xml +++ b/hub-prime/pom.xml @@ -11,7 +11,7 @@ org.techbd hub-prime - 0.160.0 + 0.161.0 war TechBD Hub (Prime) TechBD Hub (Primary) diff --git a/hub-prime/src/main/resources/templates/page/diagnostics/needs-attention.html b/hub-prime/src/main/resources/templates/page/diagnostics/needs-attention.html index 780a379eb8f..ccd4e7af804 100644 --- a/hub-prime/src/main/resources/templates/page/diagnostics/needs-attention.html +++ b/hub-prime/src/main/resources/templates/page/diagnostics/needs-attention.html @@ -56,15 +56,15 @@ button.innerText = params.data.qe_total_submissions; button.style.marginLeft = '5px'; - container.appendChild(arrow); - container.appendChild(button); + // container.appendChild(arrow); + container.appendChild(button); - container.addEventListener('click', () => { - // Set buttonPressed before expanding - params.node.data.buttonPressed = 'qe_total_submissions'; - params.node.setExpanded(!params.node.expanded); - arrow.innerText = params.node.expanded ? '▼' : '▶'; - }); + // container.addEventListener('click', () => { + // // Set buttonPressed before expanding + // params.node.data.buttonPressed = 'qe_total_submissions'; + // params.node.setExpanded(!params.node.expanded); + // arrow.innerText = params.node.expanded ? '▼' : '▶'; + // }); return container; } @@ -96,7 +96,7 @@ function qeNameCellRenderer(params) { const qeName = params.data.qe_name; - const link = `/data-quality/needs-attention-details?qeName=${qeName}`; + const link = `/data-quality/needs-attention?qeName=${qeName}`; //return `${qeName}`; return `${qeName}`; }