diff --git a/src/components/Users/UserAddEditForm.tsx b/src/components/Users/UserAddEditForm.tsx index c0f75dbe850..00793ce8fff 100644 --- a/src/components/Users/UserAddEditForm.tsx +++ b/src/components/Users/UserAddEditForm.tsx @@ -1179,7 +1179,7 @@ const UserAddEditForm = (props: UserProps) => { )} )} - {includedFields?.includes("local_body") && ( + {showLocalbody && includedFields?.includes("local_body") && ( <> {isLocalbodyLoading ? ( diff --git a/src/components/Users/UserFormValidations.tsx b/src/components/Users/UserFormValidations.tsx index a5af4549803..c59d4a4bd5c 100644 --- a/src/components/Users/UserFormValidations.tsx +++ b/src/components/Users/UserFormValidations.tsx @@ -50,8 +50,6 @@ export const newUserFields: Array = [ "qualification", "doctor_experience_commenced_on", "doctor_medical_council_registration", - "weekly_working_hours", - "video_connect_link", ]; export const editUserFields: Array = [