@byu-oit/vue-decision-processing-components
Advanced tools
Comparing version 8.18.2 to 8.19.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [8.19.0](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.18.2...v8.19.0) (2020-03-18) | ||
### Features | ||
* use new basic property for population ([c1aef06](https://github.com/byu-oit/vue-decision-processing-components/commit/c1aef06c53b43d81338bb2737c7fc0919d74749c)) | ||
### [8.18.2](https://github.com/byu-oit/vue-decision-processing-components/compare/v8.18.1...v8.18.2) (2020-03-17) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "@byu-oit/vue-decision-processing-components", | ||
"version": "8.18.2", | ||
"version": "8.19.0", | ||
"description": "Vue components shared between decision processing systems for the CES schools.", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -7,2 +7,3 @@ import get from 'lodash.get' | ||
const assignedTo = flags.filter(f => /^[0-9]{9}$/.test(f))[0] | ||
const population = get(basic, 'applicant_population.value', '') | ||
return { | ||
@@ -21,4 +22,4 @@ admit_period: get(basic, 'admit_period.value'), | ||
institution: get(basic, 'institution.value'), | ||
is_hawaii: flags.includes('HI'), | ||
is_international: flags.includes('IA'), | ||
is_hawaii: population === 'HI', | ||
is_international: population === 'IA', | ||
next_action_date: get(basic, 'next_action.value'), | ||
@@ -25,0 +26,0 @@ set_flags: flags |
388846
4122