Skip to content

Commit

Permalink
Fix primefaces#4854: Datatable showRowReorder render NULL instead of …
Browse files Browse the repository at this point in the history
…false
  • Loading branch information
melloware committed Sep 1, 2023
1 parent 165e7e8 commit 51e8856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/datatable/BodyCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ export const BodyCell = React.memo((props) => {
);
const rowReorderIcon = getColumnProp('rowReorderIcon') || <BarsIcon {...rowReorderIconProps} />;

content = showReorder && IconUtils.getJSXIcon(rowReorderIcon, { ...rowReorderIconProps }, { props });
content = showReorder ? IconUtils.getJSXIcon(rowReorderIcon, { ...rowReorderIconProps }, { props }) : null;
} else if (expander) {
const rowTogglerIconProps = mergeProps(
{
Expand Down

0 comments on commit 51e8856

Please sign in to comment.