Skip to content

Commit 287e0a7

Browse files
committed
print create time also for gallery
1 parent bf06879 commit 287e0a7

File tree

4 files changed

+233
-155
lines changed

4 files changed

+233
-155
lines changed

blocks/eda-frontend/src/pages/Gallery.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import Typography from '@mui/material/Typography'
2525

2626
import { fetchGallery } from '../redux/dashboardSlice'
2727
import api from '../utils/Api'
28+
import { getDate } from '../utils/GalleryUtils'
2829

2930
const images = require.context('../static/gallery', true)
3031

@@ -58,6 +59,9 @@ const SchematicCard = ({ sch }) => {
5859
<Typography variant='body2' component='p'>
5960
{sch.description}
6061
</Typography>
62+
<Typography variant='body2' color='textSecondary' component='p' style={{ margin: '5px 0px 0px 0px' }}>
63+
Created on {getDate(sch.save_time)}
64+
</Typography>
6165
</CardContent>
6266
</CardActionArea>
6367

0 commit comments

Comments
 (0)