mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
feat(album): show cover upload overlay on album details
This commit is contained in:
parent
940dbe4c0a
commit
27a0841065
@ -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…
x
Reference in New Issue
Block a user