@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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eeplatform/basic-edu
2
2
 
3
+ ## 1.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 92ce468: Section - fix section generation
8
+
3
9
  ## 1.10.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -43098,7 +43098,7 @@ function useSectionService() {
43098
43098
  subjectCode: curriculumSubject.subjectCode,
43099
43099
  schoolYear: value.schoolYear
43100
43100
  });
43101
- if (existingSectionSubject) {
43101
+ if (existingSectionSubject && existingSectionSubject.length) {
43102
43102
  subjectsSkipped++;
43103
43103
  continue;
43104
43104
  }
@@ -43159,7 +43159,7 @@ function useSectionService() {
43159
43159
  school: value.school,
43160
43160
  schoolYear: value.schoolYear
43161
43161
  });
43162
- if (existingLoad) {
43162
+ if (existingLoad && existingLoad.length) {
43163
43163
  teachingLoadsSkipped++;
43164
43164
  continue;
43165
43165
  }