mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-31 20:31:16 -07:00
Fixed UI not showing grandfathered tracts correctly on side panel
This commit is contained in:
parent
5b4b777e10
commit
ddf1544d5d
1 changed files with 4 additions and 4 deletions
|
@ -47,8 +47,10 @@ const PrioritizationCopy =
|
||||||
}:IPrioritizationCopy) => {
|
}:IPrioritizationCopy) => {
|
||||||
let prioCopyRendered;
|
let prioCopyRendered;
|
||||||
|
|
||||||
|
if (isGrandfathered) {
|
||||||
|
prioCopyRendered = EXPLORE_COPY.PRIORITIZATION_COPY.PRIO_GRANDFATHERED_LI;
|
||||||
// if 1
|
// if 1
|
||||||
if (totalCategoriesPrioritized === 0) {
|
} else if (totalCategoriesPrioritized === 0) {
|
||||||
// if 1-1
|
// if 1-1
|
||||||
if (isAdjacencyThreshMet && isAdjacencyLowIncome) {
|
if (isAdjacencyThreshMet && isAdjacencyLowIncome) {
|
||||||
prioCopyRendered = EXPLORE_COPY.PRIORITIZATION_COPY.PRIO_SURR_LI;
|
prioCopyRendered = EXPLORE_COPY.PRIORITIZATION_COPY.PRIO_SURR_LI;
|
||||||
|
@ -59,10 +61,8 @@ const PrioritizationCopy =
|
||||||
} else if (isAdjacencyThreshMet && !isAdjacencyLowIncome) {
|
} else if (isAdjacencyThreshMet && !isAdjacencyLowIncome) {
|
||||||
// if 1-2-1
|
// if 1-2-1
|
||||||
if ( tribalCountAK === null && tribalCountUS === null) {
|
if ( tribalCountAK === null && tribalCountUS === null) {
|
||||||
if (isGrandfathered) {
|
|
||||||
prioCopyRendered = EXPLORE_COPY.PRIORITIZATION_COPY.PRIO_GRANDFATHERED_LI;
|
|
||||||
// if 1-2-1-1
|
// if 1-2-1-1
|
||||||
} else if (percentTractTribal === null) {
|
if (percentTractTribal === null) {
|
||||||
prioCopyRendered = EXPLORE_COPY.PRIORITIZATION_COPY.NOT_PRIO_SURR_LI;
|
prioCopyRendered = EXPLORE_COPY.PRIORITIZATION_COPY.NOT_PRIO_SURR_LI;
|
||||||
// if 1-2-1-2
|
// if 1-2-1-2
|
||||||
} else if (percentTractTribal === 0) {
|
} else if (percentTractTribal === 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue