iptdevs-design-system 2.7.53 → 2.7.54

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.
@@ -3075,17 +3075,17 @@ class CodFormStepTwoComponent extends CodFormSteps {
3075
3075
  }
3076
3076
  // Eventos de los select
3077
3077
  selectCountry(country) {
3078
- if (country !== 'País de residencia') {
3078
+ let iso = '';
3079
+ if (country === '2')
3080
+ iso = 'col';
3081
+ else if (country === '3')
3082
+ iso = 'ven';
3083
+ else if (country === '4')
3084
+ iso = 'usa';
3085
+ else
3086
+ iso = '';
3087
+ if (iso != '') {
3079
3088
  this.codFormStepTwo.controls['country'].setValue(country);
3080
- let iso = '';
3081
- if (country === '1')
3082
- iso = 'nul';
3083
- if (country === '2')
3084
- iso = 'col';
3085
- if (country === '3')
3086
- iso = 'ven';
3087
- if (country === '4')
3088
- iso = 'usa';
3089
3089
  this.parameterService.getStatesByCountry(iso).subscribe((response) => {
3090
3090
  this.states = response.data;
3091
3091
  this.selectState(this.localStorageCOD.getCodFormData(2, 'state'));