mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-21 23:11:41 -07:00
Added tract grandfathering language to UI
This commit is contained in:
parent
d22c348504
commit
a58edbc724
10 changed files with 49 additions and 23 deletions
|
@ -1163,6 +1163,9 @@ const AreaDetail = ({properties}: IAreaDetailProps) => {
|
|||
null
|
||||
}
|
||||
percentTractTribal={percentTractTribal}
|
||||
isGrandfathered={
|
||||
properties[constants.IS_GRANDFATHERED]
|
||||
}
|
||||
/>
|
||||
<PrioritizationCopy2
|
||||
totalCategoriesPrioritized={
|
||||
|
@ -1189,9 +1192,11 @@ const AreaDetail = ({properties}: IAreaDetailProps) => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{/* Only show the DonutCopy if Adjacency index is true and the total number of disadv ind == 0 */}
|
||||
{/* Only show the DonutCopy if Adjacency index is true, the total number of disadv ind == 0,
|
||||
and not grandfathered. */}
|
||||
{properties[constants.ADJACENCY_EXCEEDS_THRESH] &&
|
||||
properties[constants.TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS] === 0 && (
|
||||
properties[constants.TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS] === 0 &&
|
||||
!properties[constants.IS_GRANDFATHERED] && (
|
||||
<DonutCopy
|
||||
isAdjacent={properties[constants.ADJACENCY_EXCEEDS_THRESH]}
|
||||
povertyBelow200Percentile={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue