iptdevs-design-system 3.1.889 → 3.1.890
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-four/cod-form-step-four.component.mjs +5 -4
- package/fesm2015/iptdevs-design-system.mjs +4 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +4 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4970,10 +4970,11 @@ class CodFormStepFourComponent extends CodFormSteps {
|
|
|
4970
4970
|
this.dataPrices = response.data;
|
|
4971
4971
|
if (technicalCourses.includes(course_type)) {
|
|
4972
4972
|
// Calculamos los paid_levels permitidos basado en el english_level
|
|
4973
|
-
const
|
|
4974
|
-
const
|
|
4973
|
+
const techEnglishLevels = [8, 9, 10, 11];
|
|
4974
|
+
const levelIndex = techEnglishLevels.indexOf(english_level);
|
|
4975
|
+
const levelsToShow = techEnglishLevels.length - levelIndex;
|
|
4975
4976
|
this.dataPrices = this.dataPrices.filter((item) => {
|
|
4976
|
-
item.paid_level <=
|
|
4977
|
+
return item.paid_level <= levelsToShow;
|
|
4977
4978
|
});
|
|
4978
4979
|
}
|
|
4979
4980
|
this.feeResponse = false;
|