mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-21 23:11:41 -07:00
Add display text for island territories marked disadvantaged for low income
This commit is contained in:
parent
f58f88cf1b
commit
2c1fec5317
6 changed files with 69 additions and 35 deletions
|
@ -1146,6 +1146,12 @@ const AreaDetail = ({properties}: IAreaDetailProps) => {
|
|||
isAdjacencyLowIncome={
|
||||
properties[constants.ADJACENCY_LOW_INCOME_EXCEEDS_THRESH]
|
||||
}
|
||||
isIslandLowIncome={
|
||||
properties[constants.IS_FEDERAL_POVERTY_LEVEL_200] &&
|
||||
constants.TILES_ISLAND_AREA_FIPS_CODES.some((code) => {
|
||||
return properties[constants.GEOID_PROPERTY].startsWith(code);
|
||||
})
|
||||
}
|
||||
tribalCountAK={
|
||||
properties[constants.TRIBAL_AREAS_COUNT_AK] >= 1 ?
|
||||
properties[constants.TRIBAL_AREAS_COUNT_AK] :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue