From 86f0e5b965869430cb1b7bc2c893131a4ba147b8 Mon Sep 17 00:00:00 2001 From: Avisha Sodhi <38086281+SodhiA1@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:53:10 -0700 Subject: [PATCH] Add Student: UI fix --- .../stepThreeVerifyData/DetailComponent.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/sdcCollection/sdcSchoolCollection/stepThreeVerifyData/DetailComponent.vue b/frontend/src/components/sdcCollection/sdcSchoolCollection/stepThreeVerifyData/DetailComponent.vue index c041b8be..f2e7c54a 100644 --- a/frontend/src/components/sdcCollection/sdcSchoolCollection/stepThreeVerifyData/DetailComponent.vue +++ b/frontend/src/components/sdcCollection/sdcSchoolCollection/stepThreeVerifyData/DetailComponent.vue @@ -119,7 +119,7 @@ :selected-student-ids="studentForEdit" :is-final-sign-off="isFinalSignOff" @reload-students="reloadStudentsFlag = true" - @close="closeAndLoadStudents" + @close="closeEditAndLoadStudents" /> @@ -238,13 +238,20 @@ export default { this.studentForEdit.push(selectedStudent?.sdcSchoolCollectionStudentID); this.editStudentSheet = true; }, - closeAndLoadStudents() { + closeEditAndLoadStudents() { this.editStudentSheet = !this.editStudentSheet; if (this.reloadStudentsFlag === true) { this.loadStudents(); } this.reloadStudentsFlag = false; }, + closeAddAndLoadStudents() { + this.addStudentSheet = !this.addStudentSheet; + if (this.reloadStudentsFlag === true) { + this.loadStudents(); + } + this.reloadStudentsFlag = false; + }, closeAddStudentWindow($event) { this.addStudentSheet = !this.addStudentSheet; this.editStudent($event);