@m4l/components 0.0.46 → 0.0.47
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.
|
@@ -885,7 +885,7 @@ function BaseProvider(props) {
|
|
|
885
885
|
autoClose: 1e4
|
|
886
886
|
});
|
|
887
887
|
}
|
|
888
|
-
}, [isValid, applyedFilters]);
|
|
888
|
+
}, [isValid, applyedFilters, onChangeFilter]);
|
|
889
889
|
useEffect(() => {
|
|
890
890
|
const NoValid = applyedFilters.findIndex((f) => !f.isSetted) > -1;
|
|
891
891
|
if (NoValid) {
|
|
@@ -186,7 +186,6 @@ function ObjectLogs(props) {
|
|
|
186
186
|
queryParams
|
|
187
187
|
});
|
|
188
188
|
useEffect(() => {
|
|
189
|
-
console.log("useEffect ObjectLogs", object_id);
|
|
190
189
|
clearRows();
|
|
191
190
|
setQueryParams((oldParms) => ({
|
|
192
191
|
...oldParms,
|
|
@@ -194,14 +193,12 @@ function ObjectLogs(props) {
|
|
|
194
193
|
}));
|
|
195
194
|
}, [object_id]);
|
|
196
195
|
const onChangeFilter = (_initFilters, rawFilters) => {
|
|
197
|
-
console.log("onChangeFilter*", object_id);
|
|
198
196
|
setQueryParams((oldParms) => ({
|
|
199
197
|
...oldParms,
|
|
200
198
|
f: rawFilters
|
|
201
199
|
}));
|
|
202
200
|
Refresh();
|
|
203
201
|
};
|
|
204
|
-
console.log("Render ObjectLogs", object_id, queryParams);
|
|
205
202
|
return /* @__PURE__ */ jsxs(Container$1, {
|
|
206
203
|
children: [/* @__PURE__ */ jsx(Actions, {
|
|
207
204
|
id: "objectLogsActions",
|