mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-03 13:53:18 -07:00
Show island low income percentiles in sidebar
This commit is contained in:
parent
c6c9a1a1f7
commit
dd43b64579
15 changed files with 158 additions and 12 deletions
|
@ -40,8 +40,8 @@ const PrioritizationCopy2 =
|
|||
tribalCountUS,
|
||||
percentTractTribal,
|
||||
}:IPrioritizationCopy2) => {
|
||||
let noStyles = false;
|
||||
let prioCopy2Rendered;
|
||||
let prioCopy2Rendered = <></>;
|
||||
|
||||
|
||||
// if 1
|
||||
if (
|
||||
|
@ -165,13 +165,10 @@ const PrioritizationCopy2 =
|
|||
(tribalCountAK !== null && tribalCountAK >= 1)
|
||||
) {
|
||||
prioCopy2Rendered = EXPLORE_COPY.getPrioANVCopy(tribalCountAK, false);
|
||||
} else {
|
||||
prioCopy2Rendered = <></>;
|
||||
noStyles = true;
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={noStyles ? '' : styles.prioritizationCopy2Container}>
|
||||
<div className={prioCopy2Rendered !== <></> ? '' : styles.prioritizationCopy2Container}>
|
||||
{prioCopy2Rendered}
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
exports[`rendering of PrioritizationCopy2 Component checks if component renders The lands of Federally Recognized Tribes that cover 2% of this tract are also considered disadvantaged. when totCats = 0, totBurds = 0, isAdj = true, isAdjLI = true, tribal % = 2, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div>
|
||||
<div
|
||||
class=""
|
||||
>
|
||||
The lands of Federally Recognized Tribes that cover 2% of this tract are also considered disadvantaged.
|
||||
</div>
|
||||
</DocumentFragment>
|
||||
|
@ -10,7 +12,9 @@ exports[`rendering of PrioritizationCopy2 Component checks if component renders
|
|||
|
||||
exports[`rendering of PrioritizationCopy2 Component checks if component renders The lands of Federally Recognized Tribes that cover 4% of this tract are also considered disadvantaged. when totCats = 0, totBurds = 1, isAdj = true, isAdjLI = true, tribal % = 4, 1`] = `
|
||||
<DocumentFragment>
|
||||
<div>
|
||||
<div
|
||||
class=""
|
||||
>
|
||||
The lands of Federally Recognized Tribes that cover 4% of this tract are also considered disadvantaged.
|
||||
</div>
|
||||
</DocumentFragment>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue