gantt-task-react-powern 0.5.5 → 0.5.6
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 +0 -14
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +0 -14
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -3019,10 +3019,6 @@ var Gantt = function Gantt(_ref) {
|
|
|
3019
3019
|
lastTouchY = _useState14[0],
|
|
3020
3020
|
setLastTouchY = _useState14[1];
|
|
3021
3021
|
|
|
3022
|
-
var _useState15 = useState(false),
|
|
3023
|
-
hasCircularDeps = _useState15[0],
|
|
3024
|
-
setHasCircularDeps = _useState15[1];
|
|
3025
|
-
|
|
3026
3022
|
useEffect(function () {
|
|
3027
3023
|
if (scheduleType === "lookAhead" && startDate && endDate) {
|
|
3028
3024
|
setDateSetup({
|
|
@@ -3071,16 +3067,6 @@ var Gantt = function Gantt(_ref) {
|
|
|
3071
3067
|
primaryPath = _getCriticalPaths[0],
|
|
3072
3068
|
secondaryPath = _getCriticalPaths[1];
|
|
3073
3069
|
|
|
3074
|
-
if (leafTasks.length > 0 && primaryPath.length === 0 && secondaryPath.length === 0) {
|
|
3075
|
-
setHasCircularDeps(true);
|
|
3076
|
-
} else {
|
|
3077
|
-
if (hasCircularDeps && localStorage.getItem('hideCircularDepsAlert') === 'true') {
|
|
3078
|
-
localStorage.removeItem('hideCircularDepsAlert');
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
setHasCircularDeps(false);
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
3070
|
uncolorAll(tasks);
|
|
3085
3071
|
|
|
3086
3072
|
if (scheduleType !== "lookAhead") {
|