Skip to content

Commit 15764da

Browse files
authored
Merge pull request #2473 from AkshataKatwal16/release-1.13.0-prod-register
Issue feat: restrict pragyanpath from landing page bottom program list
2 parents 309b78f + 48907c6 commit 15764da

File tree

2 files changed

+4
-4
lines changed
  • apps/learner-web-app/src/app/landing
  • libs/shared-lib-v2/src/lib/context/locales

2 files changed

+4
-4
lines changed

apps/learner-web-app/src/app/landing/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export default function LandingPage() {
5151
const programsData = res?.result || [];
5252
const visiblePrograms = programsData?.filter(
5353
(program: any) =>
54-
program?.params?.uiConfig?.showProgram === true ||
55-
program?.params?.uiConfig?.sso?.length > 0
54+
program?.params?.uiConfig?.showProgram === true
55+
// program?.params?.uiConfig?.sso?.length > 0
5656
);
5757
setPrograms(visiblePrograms || []);
5858
} catch (error) {
@@ -460,7 +460,7 @@ export default function LandingPage() {
460460
</Box>
461461
) : (
462462
<Grid container spacing={4}>
463-
{programs.slice(0, 3).map((program, index) => (
463+
{programs?.map((program, index) => (
464464
<Grid item xs={12} md={4} key={program.tenantId || index}>
465465
<Card
466466
sx={{

libs/shared-lib-v2/src/lib/context/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@
444444
"TO_GET_ACCESS_TO_PRAGYANPATH": "to get access to Pragyanpath",
445445
"LOGIN": "Log in",
446446
"FOR_PRATHAM_EMPLOYEES": "For Pratham Employees",
447-
"ACCESS_PRAGYANPATH": "Access Pragyapath",
447+
"ACCESS_PRAGYANPATH": "Access Pragyanpath",
448448
"ABOUT_PRATHAM": "About Pratham",
449449
"ABOUT_PRATHAM_LEARNING_PLATFORM": "About Pratham Learning Platform",
450450
"OUR_PROGRAMS": "Our Programs",

0 commit comments

Comments
 (0)