gantt-task-react-powern 0.4.44 → 0.4.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -406,7 +406,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
406
406
  style: {
407
407
  paddingLeft: t.depth * 4 + "px"
408
408
  }
409
- }, t.childrenCount && t.childrenCount > 0 ? React.createElement("div", {
409
+ }, !leafTaskIds.has(t.id) ? React.createElement("div", {
410
410
  className: styles$1.taskListExpander,
411
411
  onClick: function onClick() {
412
412
  return onExpanderClick(t);