@eeplatform/basic-edu 1.10.2 → 1.10.3

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/dist/index.mjs CHANGED
@@ -43180,7 +43180,7 @@ function useSectionService() {
43180
43180
  subjectCode: curriculumSubject.subjectCode,
43181
43181
  schoolYear: value.schoolYear
43182
43182
  });
43183
- if (existingSectionSubject) {
43183
+ if (existingSectionSubject && existingSectionSubject.length) {
43184
43184
  subjectsSkipped++;
43185
43185
  continue;
43186
43186
  }
@@ -43241,7 +43241,7 @@ function useSectionService() {
43241
43241
  school: value.school,
43242
43242
  schoolYear: value.schoolYear
43243
43243
  });
43244
- if (existingLoad) {
43244
+ if (existingLoad && existingLoad.length) {
43245
43245
  teachingLoadsSkipped++;
43246
43246
  continue;
43247
43247
  }