fix: add ID photo to Photos & files

This commit is contained in:
Nikola Ubavic 2022-02-21 14:36:14 +01:00
parent 18c92d2536
commit f8ca83921c
3 changed files with 26 additions and 13 deletions

View file

@ -38,17 +38,19 @@ const PhotosCarousel = memo(({ photosData, timezone }) => {
)}
<div className={classes.secondRow}>
<div>
<div>
<Label>Date</Label>
<div>
{photosData &&
formatDate(
photosData[currentIndex]?.date,
timezone,
'yyyy-MM-dd HH:mm'
)}
</div>
</div>
{photosData[currentIndex].date && (
<>
<Label>Date</Label>
<div>
{photosData &&
formatDate(
photosData[currentIndex]?.date,
timezone,
'yyyy-MM-dd HH:mm'
)}
</div>
</>
)}
</div>
<div>
<Label>Taken by</Label>