gantt-task-react-powern 0.4.38 → 0.4.40

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.
@@ -374,10 +374,12 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
374
374
  }, tasks.map(function (t) {
375
375
  var expanderSymbol = "";
376
376
 
377
- if (t.hideChildren === false) {
378
- expanderSymbol = "▼";
379
- } else if (t.hideChildren === true) {
380
- expanderSymbol = "►";
377
+ if (t.childrenCount && t.childrenCount > 0) {
378
+ if (t.hideChildren === false) {
379
+ expanderSymbol = "▼";
380
+ } else if (t.hideChildren === true) {
381
+ expanderSymbol = "►";
382
+ }
381
383
  }
382
384
 
383
385
  return React.createElement("div", {
@@ -398,7 +400,7 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
398
400
  style: {
399
401
  paddingLeft: t.depth * 4 + "px"
400
402
  }
401
- }, React.createElement("div", {
403
+ }, t.childrenCount && t.childrenCount > 0 && React.createElement("div", {
402
404
  className: styles$1.taskListExpander,
403
405
  onClick: function onClick() {
404
406
  return onExpanderClick(t);
@@ -929,7 +931,7 @@ var Calendar = function Calendar(_ref) {
929
931
  }, bottomValue));
930
932
 
931
933
  if (i + 1 !== dates.length && date.getMonth() !== dates[i + 1].getMonth()) {
932
- var topValue = getLocaleMonth(date, locale);
934
+ var topValue = getLocaleMonth(date, locale) + " " + date.getFullYear();
933
935
  topValues.push(React.createElement(TopPartOfCalendar, {
934
936
  key: topValue + date.getFullYear(),
935
937
  value: topValue,