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