From 1ecd33c84dd4f296c05e7b91bd35a1c0b36b5d1c Mon Sep 17 00:00:00 2001 From: ttpl-rt-217 Date: Sun, 1 Dec 2024 22:14:39 +0530 Subject: [PATCH] admin grid issue fixed --- src/pages/course-planner/index.tsx | 108 +++++++++++++---------------- 1 file changed, 50 insertions(+), 58 deletions(-) diff --git a/src/pages/course-planner/index.tsx b/src/pages/course-planner/index.tsx index 12fc6589..9159573b 100644 --- a/src/pages/course-planner/index.tsx +++ b/src/pages/course-planner/index.tsx @@ -207,32 +207,64 @@ const Foundation = () => { {t("MASTER.STATE")} - - + {role === "Central Admin CCTA" ? ( stateNames.map((stateName) => ( + + handleCardClick(stateName)} + > + + + {stateName} + + + + + + + )) + ) : ( + handleCardClick(stateName)} + onClick={() => handleCardClick(store?.matchingstate?.name)} > { }} > - {stateName} + {store?.matchingstate?.name} - )) - ) : ( - handleCardClick(store?.matchingstate?.name)} - > - - - {store?.matchingstate?.name} - - - - - + )} - - + + )}