gantt-task-react-powern 0.6.15 → 0.6.17

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.
@@ -3202,7 +3202,7 @@ var Gantt = function Gantt(_ref) {
3202
3202
  setBarTasks(convertToBarTasks(filteredTasks, newDates, columnWidth, rowHeight, taskHeight, barCornerRadius, handleWidth, rtl, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, milestoneBackgroundColor, milestoneBackgroundSelectedColor));
3203
3203
  setIsProcessing(false);
3204
3204
  }, delayToRender);
3205
- }, [tasks, viewMode, preStepsCount, rowHeight, barCornerRadius, columnWidth, taskHeight, handleWidth, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, milestoneBackgroundColor, milestoneBackgroundSelectedColor, rtl]);
3205
+ }, [tasks, viewMode, preStepsCount, rowHeight, barCornerRadius, columnWidth, taskHeight, handleWidth, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, milestoneBackgroundColor, milestoneBackgroundSelectedColor, rtl, shouldNotShowLoadingOverlay]);
3206
3206
  useEffect(function () {
3207
3207
  return function () {
3208
3208
  clearTimeout(debounceRef.current);
@@ -3677,14 +3677,6 @@ function getCriticalPaths(leafTasks) {
3677
3677
  }
3678
3678
  }
3679
3679
 
3680
- var printedList = taskChainList.map(function (elem) {
3681
- var newElem = _extends({}, elem);
3682
-
3683
- newElem.duration = Math.round(elem.duration / 86400000);
3684
- return newElem;
3685
- });
3686
- console.debug(printedList);
3687
-
3688
3680
  if (taskChainList.length > 0) {
3689
3681
  taskChainList.sort(function (a, b) {
3690
3682
  return b.duration - a.duration;