File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
apps/learner-web-app/src/app/landing
libs/shared-lib-v2/src/lib/context/locales Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 = { {
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments