Fix ContextMenu column label
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user