gantt-task-react-powern 0.4.94 → 0.4.95

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.
@@ -2959,8 +2959,8 @@ var Gantt = function Gantt(_ref) {
2959
2959
  if (leafTasks.length > 0 && primaryPath.length === 0 && secondaryPath.length === 0) {
2960
2960
  setHasCircularDeps(true);
2961
2961
  } else {
2962
- if (hasCircularDeps && localStorage.getItem('hideCircularDepsAlert') === 'true') {
2963
- localStorage.removeItem('hideCircularDepsAlert');
2962
+ if (hasCircularDeps && localStorage.getItem("hideCircularDepsAlert") === "true") {
2963
+ localStorage.removeItem("hideCircularDepsAlert");
2964
2964
  }
2965
2965
 
2966
2966
  setHasCircularDeps(false);
@@ -3112,7 +3112,7 @@ var Gantt = function Gantt(_ref) {
3112
3112
  var alert = document.getElementById("alert-container");
3113
3113
 
3114
3114
  if (checkbox.checked) {
3115
- localStorage.setItem('hideCircularDepsAlert', 'true');
3115
+ localStorage.setItem("hideCircularDepsAlert", "true");
3116
3116
  alert.style.display = "None";
3117
3117
  }
3118
3118
  };
@@ -3265,7 +3265,7 @@ var Gantt = function Gantt(_ref) {
3265
3265
  taskLabelRenderer: taskLabelRenderer,
3266
3266
  onMultiSelect: onMultiSelect
3267
3267
  };
3268
- return React.createElement("div", null, hasCircularDeps && localStorage.getItem('hideCircularDepsAlert') !== 'true' && React.createElement("div", {
3268
+ return React.createElement("div", null, hasCircularDeps && localStorage.getItem("hideCircularDepsAlert") !== "true" && React.createElement("div", {
3269
3269
  id: "alert-container",
3270
3270
  className: styles$9.alertContainer + " " + styles$9.warning
3271
3271
  }, React.createElement("input", {
@@ -3414,6 +3414,7 @@ function getCriticalPaths(leafTasks) {
3414
3414
  secondaryLeaf = taskMap[secondaryLeaf].next;
3415
3415
  }
3416
3416
 
3417
+ console.debug([primaryPath, secondaryPath]);
3417
3418
  return [primaryPath, secondaryPath];
3418
3419
  }
3419
3420
  function computeCriticalPath(taskID, taskMap) {