mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-14 05:17:13 +02:00
feat(album): show cover upload overlay on album details
This commit is contained in:
parent
940dbe4c0a
commit
27a0841065
1 changed files with 7 additions and 0 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue