@zgfe/modules-event 1.0.6 → 1.0.7
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.
|
@@ -102,7 +102,6 @@ var EventFilter = function EventFilter(props) {
|
|
|
102
102
|
}
|
|
103
103
|
}, [selectEventData]);
|
|
104
104
|
var onAdd = function onAdd() {
|
|
105
|
-
var _conditionRef$current;
|
|
106
105
|
if ((event === null || event === void 0 ? void 0 : event.id) === -1) {
|
|
107
106
|
return;
|
|
108
107
|
}
|
|
@@ -110,7 +109,10 @@ var EventFilter = function EventFilter(props) {
|
|
|
110
109
|
return;
|
|
111
110
|
}
|
|
112
111
|
setIsAdd(true);
|
|
113
|
-
|
|
112
|
+
setTimeout(function () {
|
|
113
|
+
var _conditionRef$current;
|
|
114
|
+
conditionRef === null || conditionRef === void 0 ? void 0 : (_conditionRef$current = conditionRef.current) === null || _conditionRef$current === void 0 ? void 0 : _conditionRef$current.add();
|
|
115
|
+
}, 0);
|
|
114
116
|
};
|
|
115
117
|
var onChangeFilters = function onChangeFilters(data) {
|
|
116
118
|
setFilter(data);
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-event",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": "^16.12.0 || ^17.0.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "a7640c96df44330387ccda9e32fe8846317f4710",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"react-copy-to-clipboard": "^5.1.0",
|
|
55
55
|
"react-highlight": "^0.15.0"
|