diff --git a/public/locales/en/common.json b/public/locales/en/common.json index f7a29224..4b8405a4 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -358,7 +358,10 @@ "LANGUAGE": "Language", "SCIENCE": "Science", "SOCIAL_SCIENCE": "Social Science", - "LIFE_SKILLS": "Life Skills" + "LIFE_SKILLS": "Life Skills", + "BOARD":"Board", + "MEDIUM":"Medium", + "GRADE":"Grade" }, "FORM_ERROR_MESSAGES": { "INVALID_INPUT": "Invalid Input.", diff --git a/src/pages/centers.tsx b/src/pages/centers.tsx index 852e6a7d..fd90f08a 100644 --- a/src/pages/centers.tsx +++ b/src/pages/centers.tsx @@ -381,7 +381,10 @@ const response= await fetchCohortMemberList(data); }; useEffect(() => { - fetchUserList(); + if ((selectedBlockCode !== "") || (selectedDistrictCode !== "" && selectedBlockCode === "") ){ + fetchUserList(); + } + // fetchUserList(); getFormData(); }, [pageOffset, pageLimit, sortBy, filters, filters.states, filters.status, createCenterStatus]);