Hide row when reordering playlist

This commit is contained in:
Deluan 2020-11-26 22:53:56 -05:00 committed by Deluan Quintão
parent e5c7819586
commit 0e9b0d466c

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 (
<>