From e868486152d26921b35f37815c0998ce6376d3d6 Mon Sep 17 00:00:00 2001 From: Krrupa <“sudonthineni@gmail.com@users.noreply.github.com”> Date: Thu, 7 Dec 2023 18:30:23 +0530 Subject: [PATCH] PunjabTeachers --- src/components/Entry.vue | 6 ++++-- src/services/validation.js | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/Entry.vue b/src/components/Entry.vue index 594df1d5..38f1f3a9 100644 --- a/src/components/Entry.vue +++ b/src/components/Entry.vue @@ -388,7 +388,8 @@ export default { this.isExtraInputValidationRequired) || this.group == "Candidates" || this.group == "TNStudents" || - this.group == "PunjabStudents" + this.group == "PunjabStudents" || + this.group == "PunjabTeachers" ); }, @@ -569,7 +570,8 @@ export default { this.group == "NGOStudents" || this.group == "TNStudents" || this.group == "DMVSStudents" || - this.group == "PunjabStudents") && + this.group == "PunjabStudents" || + this.group == "PunjabTeachers") && (this.redirectTo == "quiz" || this.redirectTo == "google-forms") ) { this.isCurrentUserValid = userValidationResponse.isCurrentUserValid; diff --git a/src/services/validation.js b/src/services/validation.js index 2cfc224d..093c95d5 100644 --- a/src/services/validation.js +++ b/src/services/validation.js @@ -92,7 +92,8 @@ export async function validateID( group == "DelhiStudents" || group == "NGOStudents" || group == "DMVSStudents" || - group == "PunjabStudents" + group == "PunjabStudents" || + group == "PunjabTeachers" ) { let isCurrentUserValid = await userAPI.verifyUser(userID, group); let isBirthdateValid = true;