gantt-task-react-powern 0.4.28 → 0.4.29

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/dist/index.js CHANGED
@@ -2748,11 +2748,7 @@ var Gantt = function Gantt(_ref) {
2748
2748
  };
2749
2749
 
2750
2750
  function topologicalOrderingHelper(taskID, taskMap, sortedTaskList) {
2751
- if (!taskMap[taskID]) {
2752
- console.log("Dependency on nonleaf " + taskID);
2753
- return true;
2754
- }
2755
-
2751
+ if (!taskMap[taskID]) return true;
2756
2752
  if (taskMap[taskID].finished) return true;
2757
2753
 
2758
2754
  if (taskMap[taskID].started) {
@@ -2845,6 +2841,7 @@ var Gantt = function Gantt(_ref) {
2845
2841
  secondaryLeaf = taskMap[secondaryLeaf].next;
2846
2842
  }
2847
2843
 
2844
+ console.log(primaryPath, secondaryPath);
2848
2845
  return [primaryPath, secondaryPath];
2849
2846
  }
2850
2847
 
@@ -2890,8 +2887,6 @@ var Gantt = function Gantt(_ref) {
2890
2887
  if (longestTask) {
2891
2888
  var _longestTask$styles;
2892
2889
 
2893
- console.log("Colored " + longestTask.id + " " + color);
2894
-
2895
2890
  var _styles = (_longestTask$styles = longestTask.styles) != null ? _longestTask$styles : {};
2896
2891
 
2897
2892
  _styles.criticalPathColor = color;