Skip to content

Commit

Permalink
add new alien species category: HorizonScannedButNotRiskAssessed
Browse files Browse the repository at this point in the history
  • Loading branch information
AneMarlene committed May 30, 2024
1 parent 1f3d4ea commit 3d51b0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Prod.Web/src/components/assessment/enhanceAssassment.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ export default function enhanceAssessment(json, appState) {
},
get alienSpeciesCategory() {
const result =
assessment.misIdentified
assessment.horizonDoScanning && !(assessment.horizonEstablismentPotential == "2" || assessment.horizonEcologicalEffect == "yesAfterGone" || (assessment.horizonEstablismentPotential == "1" && assessment.horizonEcologicalEffect == "yesWhilePresent"))
? "HorizonScannedButNotRiskAssessed"
: assessment.misIdentified
? "MisIdentified"
: assessment.allSubTaxaAssessedSeparately
? "AllSubTaxaAssessedSeparately"
Expand Down

0 comments on commit 3d51b0d

Please sign in to comment.