Hide row when reordering playlist
This commit is contained in:
parent
e5c7819586
commit
0e9b0d466c
1 changed files with 3 additions and 0 deletions
|
|
@ -82,6 +82,9 @@ export const SongDatagridRow = ({
|
||||||
const fields = React.Children.toArray(children).filter((c) =>
|
const fields = React.Children.toArray(children).filter((c) =>
|
||||||
isValidElement(c)
|
isValidElement(c)
|
||||||
)
|
)
|
||||||
|
if (!record.title) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
const childCount = fields.length
|
const childCount = fields.length
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue