gantt-task-react-powern 0.4.83 → 0.4.84

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
@@ -2892,6 +2892,12 @@ var Gantt = function Gantt(_ref) {
2892
2892
 
2893
2893
  if (leafTasks.length > 0 && primaryPath.length === 0 && secondaryPath.length === 0) {
2894
2894
  setHasCircularDeps(true);
2895
+ } else {
2896
+ if (hasCircularDeps && localStorage.getItem('hideCircularDepsAlert') === 'true') {
2897
+ localStorage.removeItem('hideCircularDepsAlert');
2898
+ }
2899
+
2900
+ setHasCircularDeps(false);
2895
2901
  }
2896
2902
 
2897
2903
  uncolorAll(tasks);