Skip to content

Commit

Permalink
Merge pull request #6122 from RoBYCoNTe/master
Browse files Browse the repository at this point in the history
Fix hasBulkActions prop type passed to DatagridRow
  • Loading branch information
fzaninotto authored Apr 9, 2021
2 parents 2c3be45 + 59b86fc commit 59f1943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const DatagridBody: FC<DatagridBodyProps> = React.forwardRef(
[classes.clickableRow]: rowClick,
}),
expand,
hasBulkActions: hasBulkActions && selectedIds,
hasBulkActions: hasBulkActions && !!selectedIds,
hover,
id,
key: id,
Expand Down

0 comments on commit 59f1943

Please sign in to comment.