gantt-task-react-powern 0.4.21 → 0.4.22

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/README.md CHANGED
@@ -31,7 +31,7 @@ let tasks: Task[] = [
31
31
  },
32
32
  ...
33
33
  ];
34
- <Gantt tasks={tasks} />
34
+ <Gantt tasks={tasks}/>
35
35
  ```
36
36
 
37
37
  You may handle actions
package/dist/index.js CHANGED
@@ -2349,8 +2349,8 @@ var HorizontalScroll = function HorizontalScroll(_ref) {
2349
2349
 
2350
2350
  var Gantt = function Gantt(_ref) {
2351
2351
  var tasks = _ref.tasks,
2352
- _ref$leafNodes = _ref.leafNodes,
2353
- leafNodes = _ref$leafNodes === void 0 ? [] : _ref$leafNodes,
2352
+ _ref$leafTasks = _ref.leafTasks,
2353
+ leafTasks = _ref$leafTasks === void 0 ? [] : _ref$leafTasks,
2354
2354
  _ref$headerHeight = _ref.headerHeight,
2355
2355
  headerHeight = _ref$headerHeight === void 0 ? 50 : _ref$headerHeight,
2356
2356
  _ref$columnWidth = _ref.columnWidth,
@@ -2521,7 +2521,7 @@ var Gantt = function Gantt(_ref) {
2521
2521
  viewMode: viewMode
2522
2522
  });
2523
2523
 
2524
- var _getCriticalPaths = getCriticalPaths(leafNodes),
2524
+ var _getCriticalPaths = getCriticalPaths(leafTasks),
2525
2525
  primaryPath = _getCriticalPaths[0],
2526
2526
  secondaryPath = _getCriticalPaths[1];
2527
2527