Skip to content

Commit

Permalink
Merge branch 'release-1.0.0' of github.com:tekdi/shiksha-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Dec 2, 2024
2 parents 877940d + 3548821 commit 8b8a104
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/resourceList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,14 @@ const ResourceList = () => {
{learnersPostReq.length > 0 ? (
<Grid container spacing={2} sx={{ mb: 4 }}>
{learnersPostReq.map((item, index) => (
<Grid item key={index}>
<Grid xs={6} md={4} lg={3} item key={index}>
<ResourceCard
title={item.name}
// type={item.app}
resource={item.contentType}
appIcon={item?.appIcon}
identifier={item.identifier}
mimeType={item.mimeType}
/>
</Grid>
))}
Expand All @@ -138,13 +139,14 @@ const ResourceList = () => {
{facilitatorsPreReq.length > 0 ? (
<Grid container spacing={2}>
{facilitatorsPreReq.map((item, index) => (
<Grid item key={index}>
<Grid xs={6} md={4} lg={3} item key={index}>
<ResourceCard
title={item.name}
// type={item.app || "Facilitator"}
resource={item.contentType}
appIcon={item?.appIcon}
identifier={item.identifier}
mimeType={item.mimeType}
/>
</Grid>
))}
Expand Down

0 comments on commit 8b8a104

Please sign in to comment.