mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-20 22:07:43 +03:00
Fix ContextMenu column label
This commit is contained in:
parent
207565bde0
commit
ac8f92d7ac
@ -143,6 +143,7 @@ SongContextMenu.propTypes = {
|
||||
SongContextMenu.defaultProps = {
|
||||
visible: true,
|
||||
showStar: true,
|
||||
addLabel: true,
|
||||
}
|
||||
|
||||
export default SongContextMenu
|
||||
|
@ -58,6 +58,7 @@ export const SongDatagridRow = ({
|
||||
? child
|
||||
: cloneElement(child, {
|
||||
visible: contextVisible || visible,
|
||||
...child.props,
|
||||
...rest,
|
||||
}))
|
||||
)}
|
||||
@ -85,7 +86,7 @@ export const SongDatagrid = ({ multiDisc, contextVisible, ...rest }) => {
|
||||
}
|
||||
/>
|
||||
)
|
||||
return <Datagrid {...rest} body={<SongDatagridBody />} optimized />
|
||||
return <Datagrid {...rest} body={<SongDatagridBody />} />
|
||||
}
|
||||
|
||||
SongDatagrid.propTypes = {
|
||||
|
@ -72,6 +72,7 @@ const SongList = (props) => {
|
||||
<DurationField source="duration" />
|
||||
{isDesktop ? (
|
||||
<SongContextMenu
|
||||
source={'starred'}
|
||||
label={translate('resources.song.fields.starred')}
|
||||
sortBy={'starred DESC, starredAt ASC'}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user