From 933a6994c6aa287cc0efe6a866c5be87f3f37a15 Mon Sep 17 00:00:00 2001 From: Bryan Marchena Date: Thu, 18 Apr 2024 09:53:09 -0400 Subject: [PATCH] Hide values for row headers in Detailed Race and Ethnicity Section --- .../components/data-table-row-current.hbs | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/app/templates/components/data-table-row-current.hbs b/app/templates/components/data-table-row-current.hbs index fef354b1..43608997 100644 --- a/app/templates/components/data-table-row-current.hbs +++ b/app/templates/components/data-table-row-current.hbs @@ -1,4 +1,4 @@ -{{#unless this.rowConfig.divider}} +{{#unless (or this.rowConfig.divider (not this.rowConfig.data))}} {{this.rowConfig.title}} @@ -126,13 +126,22 @@ {{else}} -   -   -   - {{#if this.reliability}} -   + {{#if (not this.rowConfig.data)}} + {{!-- If a row header, display title --}} + + + {{this.rowConfig.title}} + + + {{else}}   +     + {{#if this.reliability}} +   +   +   + {{/if}} {{/if}}   @@ -150,5 +159,10 @@   {{/if}} + {{#if (not this.rowConfig.data)}} +   +   + {{/if}} + {{/unless}} {{yield}}