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.
package/dist/index.js CHANGED
@@ -407,7 +407,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
407
407
  style: {
408
408
  paddingLeft: t.depth * 4 + "px"
409
409
  }
410
- }, t.childrenCount && t.childrenCount > 0 ? React__default.createElement("div", {
410
+ }, !leafTaskIds.has(t.id) ? React__default.createElement("div", {
411
411
  className: styles$1.taskListExpander,
412
412
  onClick: function onClick() {
413
413
  return onExpanderClick(t);