From bbb9e739db1584e78723d153c538c51a9b71a447 Mon Sep 17 00:00:00 2001 From: horatio Date: Fri, 26 Apr 2024 10:40:56 -0400 Subject: [PATCH] 1172 hide change over time for detailed race and ethnicity --- .../components/data-table-row-change.hbs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/app/templates/components/data-table-row-change.hbs b/app/templates/components/data-table-row-change.hbs index a16fec9c..bd488952 100644 --- a/app/templates/components/data-table-row-change.hbs +++ b/app/templates/components/data-table-row-change.hbs @@ -1,4 +1,8 @@ -{{#unless (or @rowConfig.divider this.noPriorData)}} +{{#unless (or + @rowConfig.divider + this.noPriorData + (eq @data.category 'detailed_race_and_ethnicity') +)}} {{@rowConfig.title}} @@ -194,7 +198,17 @@ {{/with}} {{/with}} {{else}} - {{#if this.noPriorData}} + {{#if (eq @data.category 'detailed_race_and_ethnicity')}} + {{!-- disable change over time for subregions in detailed_race_and_ethnicity chart --}} + + + {{@rowConfig.title}} + + + + Data for this row are not comparable or are unavailable + + {{else if this.noPriorData}} {{!-- if 2006-2010 sum is null, just return empty cells --}}