mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-31 15:37:51 +01:00
Fix song context menu "on hover" visibility
This commit is contained in:
parent
f5808288ab
commit
a42fb024be
7 changed files with 100 additions and 61 deletions
|
|
@ -10,7 +10,12 @@ import subsonic from '../subsonic'
|
|||
const useStyles = makeStyles({
|
||||
star: {
|
||||
color: (props) => props.color,
|
||||
visibility: (props) => (props.starred ? 'visible' : 'inherit'),
|
||||
visibility: (props) =>
|
||||
props.starred
|
||||
? 'visible'
|
||||
: props.visible === false
|
||||
? 'hidden'
|
||||
: 'inherit',
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue