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 +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/types/public-types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
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$
|
|
2353
|
-
|
|
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(
|
|
2524
|
+
var _getCriticalPaths = getCriticalPaths(leafTasks),
|
|
2525
2525
|
primaryPath = _getCriticalPaths[0],
|
|
2526
2526
|
secondaryPath = _getCriticalPaths[1];
|
|
2527
2527
|
|