iptdevs-design-system 3.1.874 → 3.1.875

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.
@@ -3842,10 +3842,7 @@ class CodFormStepOneComponent extends CodFormSteps {
3842
3842
  const planNumber = typeof plan === 'string' ? parseInt(plan) : plan;
3843
3843
  if (this.parametersAll && this.parametersAll?.courseType) {
3844
3844
  this.course_type = this.parametersAll.courseType.filter((course) => {
3845
- const academicPlan = typeof course.academic_plan === 'string'
3846
- ? parseInt(course.academic_plan)
3847
- : course.academic_plan;
3848
- return academicPlan === planNumber;
3845
+ return course.academic_plan === planNumber;
3849
3846
  });
3850
3847
  }
3851
3848
  else {
@@ -3855,11 +3852,8 @@ class CodFormStepOneComponent extends CodFormSteps {
3855
3852
  getAgreementByPlan(plan) {
3856
3853
  const planNumber = typeof plan === 'string' ? parseInt(plan) : plan;
3857
3854
  if (this.parametersAll && this.parametersAll?.agreement) {
3858
- this.agreements = this.parametersAll.agreement.filter((course) => {
3859
- const academicPlan = typeof course.category === 'string'
3860
- ? parseInt(course.category)
3861
- : course.category;
3862
- return academicPlan === planNumber;
3855
+ this.agreements = this.parametersAll.agreement.filter((agreement) => {
3856
+ return agreement.category === planNumber;
3863
3857
  });
3864
3858
  }
3865
3859
  else {