iptdevs-design-system 3.2.27 → 3.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/cod/steps/cod-form-step-two/cod-form-step-two.component.mjs +4 -4
- package/esm2020/lib/core/models/parameters/parameters-rs.model.mjs +1 -1
- package/fesm2015/iptdevs-design-system.mjs +3 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/parameters/parameters-rs.model.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5275,7 +5275,7 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
5275
5275
|
this.stratums = this.parametersAll?.stratum;
|
|
5276
5276
|
this.civilStatus = this.parametersAll?.civilStatus;
|
|
5277
5277
|
this.cities = this.parametersAll?.city;
|
|
5278
|
-
this.states = this.parametersAll?.
|
|
5278
|
+
this.states = this.parametersAll?.state;
|
|
5279
5279
|
if (this.parametersAll && this.parametersAll.gender) {
|
|
5280
5280
|
this.genders = this.parametersAll.gender.map((gender) => ({
|
|
5281
5281
|
code: gender.code,
|
|
@@ -5315,8 +5315,8 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
5315
5315
|
const countryNumber = typeof country === 'string' ? parseInt(country, 10) : country;
|
|
5316
5316
|
if (country != null) {
|
|
5317
5317
|
this.codFormStepTwo.controls['country'].setValue(country);
|
|
5318
|
-
if (this.parametersAll && this.parametersAll?.
|
|
5319
|
-
this.states = this.parametersAll.
|
|
5318
|
+
if (this.parametersAll && this.parametersAll?.state) {
|
|
5319
|
+
this.states = this.parametersAll.state.filter((course) => {
|
|
5320
5320
|
const state = typeof course.country === 'string'
|
|
5321
5321
|
? parseInt(course.country, 10)
|
|
5322
5322
|
: course.country;
|