gantt-task-react-powern 0.6.13 → 0.6.15
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 +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/types/public-types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -3043,7 +3043,9 @@ var Gantt = function Gantt(_ref) {
|
|
|
3043
3043
|
onMultiSelect = _ref.onMultiSelect,
|
|
3044
3044
|
taskLabelRenderer = _ref.taskLabelRenderer,
|
|
3045
3045
|
_ref$delayToRender = _ref.delayToRender,
|
|
3046
|
-
delayToRender = _ref$delayToRender === void 0 ? 500 : _ref$delayToRender
|
|
3046
|
+
delayToRender = _ref$delayToRender === void 0 ? 500 : _ref$delayToRender,
|
|
3047
|
+
_ref$shouldNotShowLoa = _ref.shouldNotShowLoadingOverlay,
|
|
3048
|
+
shouldNotShowLoadingOverlay = _ref$shouldNotShowLoa === void 0 ? true : _ref$shouldNotShowLoa;
|
|
3047
3049
|
var wrapperRef = useRef(null);
|
|
3048
3050
|
var taskListRef = useRef(null);
|
|
3049
3051
|
|
|
@@ -3152,7 +3154,10 @@ var Gantt = function Gantt(_ref) {
|
|
|
3152
3154
|
clearTimeout(debounceRef.current);
|
|
3153
3155
|
}
|
|
3154
3156
|
|
|
3155
|
-
|
|
3157
|
+
if (!shouldNotShowLoadingOverlay) {
|
|
3158
|
+
setIsProcessing(true);
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3156
3161
|
debounceRef.current = setTimeout(function () {
|
|
3157
3162
|
var filteredTasks;
|
|
3158
3163
|
filteredTasks = removeHiddenTasks(tasks);
|