mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-16 04:01:39 -07:00
Production tickets for the week of 12-5-22 (#2117)
* remove training from low income card - update snaphots * Update npm audit level * Update query-string lib * Remove security checks * Adds security audit back * Add npm and node version * remove $ * Remove node versions * Fix redundant IDs for en.json creation - closes #2116 - closes #2106 * Update also copy - update snapshots - closes #2096 * Update public engagement video - closes #2102 - updates snapshots * Correct Prioritization copy >= 1
This commit is contained in:
parent
b97e60bfbb
commit
c5b201e1b3
17 changed files with 2285 additions and 27269 deletions
|
@ -127,12 +127,30 @@ const PrioritizationCopy2 =
|
|||
) {
|
||||
// if 2-1
|
||||
if (percentTractTribal !== null && percentTractTribal == 0) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`less than 1%`, true);
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`less than 1%`, false);
|
||||
// if 2-2
|
||||
} else if (percentTractTribal !== null && percentTractTribal >= 0) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`${percentTractTribal}%`, true);
|
||||
} else if (percentTractTribal !== null && percentTractTribal >= 1) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTCopy(`${percentTractTribal}%`, false);
|
||||
}
|
||||
// if 3
|
||||
// if 3-1
|
||||
} else if (
|
||||
totalCategoriesPrioritized === 0 &&
|
||||
(isAdjacencyThreshMet && !isAdjacencyLowIncome) &&
|
||||
tribalCountAK === null &&
|
||||
(tribalCountUS !== null && tribalCountUS >= 1) &&
|
||||
(percentTractTribal !== null && percentTractTribal == 0)
|
||||
) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTPointsCopy(tribalCountUS, false);
|
||||
// if 3-2
|
||||
} else if (
|
||||
totalCategoriesPrioritized === 0 &&
|
||||
(isAdjacencyThreshMet && !isAdjacencyLowIncome) &&
|
||||
tribalCountAK === null &&
|
||||
(tribalCountUS !== null && tribalCountUS >= 1) &&
|
||||
(percentTractTribal !== null && percentTractTribal >= 1)
|
||||
) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioFRTPointsCopy(tribalCountUS, false);
|
||||
// if 3-3
|
||||
} else if (
|
||||
(totalCategoriesPrioritized === 0 && !(isAdjacencyThreshMet && isAdjacencyLowIncome)) &&
|
||||
tribalCountAK === null &&
|
||||
|
@ -146,7 +164,7 @@ const PrioritizationCopy2 =
|
|||
isAdjacencyThreshMet && !isAdjacencyLowIncome &&
|
||||
(tribalCountAK !== null && tribalCountAK >= 1)
|
||||
) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioANVCopy(tribalCountAK, true);
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioANVCopy(tribalCountAK, false);
|
||||
} else {
|
||||
prioCopy2Rendered = <></>;
|
||||
noStyles = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue