@eeplatform/nuxt-layer-common 1.7.55 → 1.7.56
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 +6 -0
- package/components/EnrollmentForm.vue +2 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1538,12 +1538,12 @@ 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
1548
|
enrollment.value.province = school.province;
|
|
1549
1549
|
enrollment.value.cityMunicipality = school.cityMunicipality;
|
|
@@ -2249,8 +2249,6 @@ watchEffect(() => {
|
|
|
2249
2249
|
const selectedSchool = computed(() => enrollment.value.schoolId);
|
|
2250
2250
|
|
|
2251
2251
|
watch(selectedSchool, (val) => {
|
|
2252
|
-
console.log(val);
|
|
2253
|
-
|
|
2254
2252
|
enrollment.value.gradeLevel = "";
|
|
2255
2253
|
|
|
2256
2254
|
// Clear region, province, and cityMunicipality when schoolId is removed by user (not programmatically)
|