Skip to content

Commit

Permalink
Hide values for row headers in Detailed Race and Ethnicity Section
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarchena committed Apr 18, 2024
1 parent 11bdfaa commit 933a699
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions app/templates/components/data-table-row-current.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#unless this.rowConfig.divider}}
{{#unless (or this.rowConfig.divider (not this.rowConfig.data))}}
<td class='title-column' {{action 'showData'}}>
<span>
{{this.rowConfig.title}}
Expand Down Expand Up @@ -126,13 +126,22 @@

{{else}}

<td>&nbsp;</td>
<td class="cell-border-left">&nbsp;</td>
<td>&nbsp;</td>
{{#if this.reliability}}
<td>&nbsp;</td>
{{#if (not this.rowConfig.data)}}
{{!-- If a row header, display title --}}
<td class='title-column'>
<span>
{{this.rowConfig.title}}
</span>
</td>
{{else}}
<td>&nbsp;</td>
<td class="cell-border-left">&nbsp;</td>
<td>&nbsp;</td>
{{#if this.reliability}}
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
{{/if}}
{{/if}}

<td class="cell-border-left">&nbsp;</td>
Expand All @@ -150,5 +159,10 @@
<td>&nbsp;</td>
{{/if}}

{{#if (not this.rowConfig.data)}}
<td class="cell-border-left">&nbsp;</td>
<td>&nbsp;</td>
{{/if}}

{{/unless}}
{{yield}}

0 comments on commit 933a699

Please sign in to comment.