gantt-task-react-powern 0.4.45 → 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.
@@ -371,8 +371,6 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
371
371
  return t.id;
372
372
  }));
373
373
  }, [leafTasks]);
374
- console.debug("THe leafTask ids: ", leafTaskIds);
375
- console.debug("The visible Tasks", tasks);
376
374
  return React.createElement("div", {
377
375
  className: styles$1.taskListWrapper,
378
376
  style: {
@@ -408,7 +406,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
408
406
  style: {
409
407
  paddingLeft: t.depth * 4 + "px"
410
408
  }
411
- }, t.childrenCount && t.childrenCount > 0 ? React.createElement("div", {
409
+ }, !leafTaskIds.has(t.id) ? React.createElement("div", {
412
410
  className: styles$1.taskListExpander,
413
411
  onClick: function onClick() {
414
412
  return onExpanderClick(t);