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.js
CHANGED
|
@@ -3044,7 +3044,9 @@ var Gantt = function Gantt(_ref) {
|
|
|
3044
3044
|
onMultiSelect = _ref.onMultiSelect,
|
|
3045
3045
|
taskLabelRenderer = _ref.taskLabelRenderer,
|
|
3046
3046
|
_ref$delayToRender = _ref.delayToRender,
|
|
3047
|
-
delayToRender = _ref$delayToRender === void 0 ? 500 : _ref$delayToRender
|
|
3047
|
+
delayToRender = _ref$delayToRender === void 0 ? 500 : _ref$delayToRender,
|
|
3048
|
+
_ref$shouldNotShowLoa = _ref.shouldNotShowLoadingOverlay,
|
|
3049
|
+
shouldNotShowLoadingOverlay = _ref$shouldNotShowLoa === void 0 ? true : _ref$shouldNotShowLoa;
|
|
3048
3050
|
var wrapperRef = React.useRef(null);
|
|
3049
3051
|
var taskListRef = React.useRef(null);
|
|
3050
3052
|
|
|
@@ -3153,7 +3155,10 @@ var Gantt = function Gantt(_ref) {
|
|
|
3153
3155
|
clearTimeout(debounceRef.current);
|
|
3154
3156
|
}
|
|
3155
3157
|
|
|
3156
|
-
|
|
3158
|
+
if (!shouldNotShowLoadingOverlay) {
|
|
3159
|
+
setIsProcessing(true);
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3157
3162
|
debounceRef.current = setTimeout(function () {
|
|
3158
3163
|
var filteredTasks;
|
|
3159
3164
|
filteredTasks = removeHiddenTasks(tasks);
|