Hide row when reordering playlist

This commit is contained in:
Deluan 2020-11-26 22:53:56 -05:00 committed by Joe Stump
parent 30e0c4f9b8
commit 0489cb4680
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -82,6 +82,9 @@ export const SongDatagridRow = ({
const fields = React.Children.toArray(children).filter((c) =>
isValidElement(c)
)
if (!record.title) {
return null
}
const childCount = fields.length
return (
<>