Skip to content

Commit

Permalink
Merge pull request #269 from AkshataKatwal16/prod-fix-issue
Browse files Browse the repository at this point in the history
Issue feat: fix empty state value on center page
  • Loading branch information
itsvick authored Oct 15, 2024
2 parents 20ff273 + ee0db90 commit 56c9e1a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
5 changes: 4 additions & 1 deletion src/pages/centers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit 56c9e1a

Please sign in to comment.