@eeplatform/nuxt-layer-common 1.7.55 → 1.7.57
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 +12 -0
- package/components/EnrollmentForm.vue +3 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1538,13 +1538,14 @@ if (prop.schoolId) {
|
|
|
1538
1538
|
}, 1000);
|
|
1539
1539
|
}
|
|
1540
1540
|
|
|
1541
|
-
if (prop.school && prop.selfService) {
|
|
1541
|
+
if (prop.school && !prop.selfService) {
|
|
1542
1542
|
setTimeout(async () => {
|
|
1543
1543
|
try {
|
|
1544
1544
|
const school = await getSchoolById(prop.school ?? "school");
|
|
1545
1545
|
if (school) {
|
|
1546
|
-
enrollment.value.
|
|
1546
|
+
enrollment.value.school = school._id;
|
|
1547
1547
|
enrollment.value.region = school.region;
|
|
1548
|
+
enrollment.value.division = school.division;
|
|
1548
1549
|
enrollment.value.province = school.province;
|
|
1549
1550
|
enrollment.value.cityMunicipality = school.cityMunicipality;
|
|
1550
1551
|
enrollment.value.schoolName = school.name;
|
|
@@ -2249,8 +2250,6 @@ watchEffect(() => {
|
|
|
2249
2250
|
const selectedSchool = computed(() => enrollment.value.schoolId);
|
|
2250
2251
|
|
|
2251
2252
|
watch(selectedSchool, (val) => {
|
|
2252
|
-
console.log(val);
|
|
2253
|
-
|
|
2254
2253
|
enrollment.value.gradeLevel = "";
|
|
2255
2254
|
|
|
2256
2255
|
// Clear region, province, and cityMunicipality when schoolId is removed by user (not programmatically)
|