Skip to content

Commit

Permalink
Merge pull request #662 from Rushikesh-Sonawane99/release-1.1.0
Browse files Browse the repository at this point in the history
Issue #PS-3716 fix: Fixed incorrect phrase in assessment
  • Loading branch information
itsvick authored Jan 31, 2025
2 parents 035745d + 91ea532 commit 21bcb1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@
"INSTALL_APP_DESCRIPTION": "Get access to the Pratham Learning Management Portal (LMP) at your fingertips by installing on your device.",
"RELOAD": "Update Now",
"UPDATE_AVAILABLE": "New Update Available!",
"RELOAD_TO_UPDATE": "Get the latest features and improvements—update now to enjoy a smoother experience and stay up-to-date!"
"RELOAD_TO_UPDATE": "Get the latest features and improvements—update now to enjoy a smoother experience and stay up-to-date!",
"NO_ASSIGNED_BOARDS":"No assigned Board for selected Center"

},
"LOGIN_PAGE": {
"USERNAME": "Username",
Expand Down Expand Up @@ -642,7 +644,7 @@
"ASSESSMENTS": "Assessments",
"CENTER": "Center",
"ASSESSMENT_TYPE": "Assessment Type",
"COMPLETED_THE_ASSESSMENT": "completed all the assigned assessments",
"COMPLETED_THE_ASSESSMENT": "learners completed all the assigned assessments",
"SUBMITTED_ON": "Submitted On",
"CORRECT_ANSWER": "correct answers",
"NO_DATA_FOUND": "No data found",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/centers/[cohortId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ const CohortPage = () => {
const state = cohortData.customField.find(
(item: CustomField) => item.label === 'STATES'
);
setState(state.value);
setState(state?.value);
const stateCode = state?.code || '';
const stateId = state?.fieldId || '';

Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ const Dashboard: React.FC<DashboardProps> = () => {
const state = cohortData.customField.find(
(item: CustomField) => item.label === 'STATES'
);
setState(state.value);
setState(state?.value);

const address = `${toPascalCase(district?.value)}, ${toPascalCase(state?.value)}`;
cohortData.address = address || '';
Expand Down

0 comments on commit 21bcb1c

Please sign in to comment.