Skip to content

Commit 22b8039

Browse files
authored
Merge pull request #2656 from Rushikesh-Sonawane99/release-1.15.0
Issue #PS-000 chore: Added center dropdown and based on it SDBV options loading for youthnet lmp
2 parents 80ca0af + 280700d commit 22b8039

File tree

4 files changed

+426
-314
lines changed

4 files changed

+426
-314
lines changed

apps/admin-app-repo/src/config/menuConfig.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ export const MENU_CONFIG = {
88
link: '/centers',
99
roles: [Role.ADMIN, Role.CENTRAL_ADMIN],
1010
},
11-
batch: {
12-
title: 'SIDEBAR.BATCH',
13-
icon: '/images/centers.svg',
14-
link: '/batch',
15-
roles: [Role.ADMIN, Role.CENTRAL_ADMIN],
16-
},
11+
// batch: {
12+
// title: 'SIDEBAR.BATCH',
13+
// icon: '/images/centers.svg',
14+
// link: '/batch',
15+
// roles: [Role.ADMIN, Role.CENTRAL_ADMIN],
16+
// },
1717
manageUsers: {
1818
title: 'SIDEBAR.MANAGE_USERS',
1919
icon: '/images/group.svg',

apps/admin-app-repo/src/pages/centers.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,20 +168,20 @@ const Centers = () => {
168168
//set 2 grid layout
169169
let alterUISchema = responseForm?.uiSchema;
170170
alterUISchema['ui:order'] = [
171-
"name",
172-
"center_type",
173171
"state",
174172
"district",
175173
"block",
176174
"village",
175+
"board",
176+
"medium",
177+
"grade",
178+
"name",
179+
"center_type",
177180
"address",
178181
"image",
179182
"google_map_link",
180183
'industry',
181-
"catchment_area",
182-
"board",
183-
"medium",
184-
"grade",
184+
"catchment_area"
185185
];
186186
alterUISchema = enhanceUiSchemaWithGrid(alterUISchema);
187187

mfes/youthNet/public/locales/en/common.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,12 @@
819819
"DISTRICT": "District",
820820
"DISTRICTS": "Districts",
821821
"STATE": "State",
822-
"PLEASE_GO_BACK_MSG": "Please go back after selection to proceed further"
822+
"PLEASE_GO_BACK_MSG": "Please go back after selection to proceed further",
823+
"NO_STATES_FOUND": "No States found",
824+
"NO_DISTRICTS_FOUND": "No Districts found",
825+
"NO_BLOCKS_FOUND": "No Blocks found",
826+
"NO_VILLAGES_FOUND": "No Villages found"
827+
823828
},
824829
"YOUTHNET_CAMP_DETAILS": {
825830
"SUBMISSION": "Submission",

0 commit comments

Comments
 (0)