feat(album): show cover upload overlay on album details

This commit is contained in:
Deluan 2026-07-17 19:07:27 -04:00
parent 940dbe4c0a
commit 27a0841065

View File

@ -26,6 +26,7 @@ import {
CollapsibleComment,
DurationField,
formatRange,
ImageUploadOverlay,
LoveButton,
RatingField,
SizeField,
@ -74,6 +75,7 @@ const useStyles = makeStyles(
width: '15em',
minWidth: '15em',
},
position: 'relative',
backgroundColor: 'transparent',
display: 'flex',
alignItems: 'center',
@ -276,6 +278,11 @@ const AlbumDetails = (props) => {
cursor: imageError ? 'default' : 'pointer',
}}
/>
<ImageUploadOverlay
entityType="album"
entityId={record.id}
hasUploadedImage={!!record.uploadedImage}
/>
</div>
<div className={classes.details}>
<CardContent className={classes.content}>