@xuda.io/xuda-worker-bundle-min 1.3.805 → 1.3.807

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.
Files changed (2) hide show
  1. package/index.js +8 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -311,13 +311,19 @@ func.common.db = async function (
311
311
  for (let [key, val] of Object.entries(dataP)) {
312
312
  if (
313
313
  typeof val !== "undefined" &&
314
- !fields_to_delete.includes(key) &&
315
- !_session?.DS_GLB?.[dsSession].refreshed
314
+ val !== null &&
315
+ !fields_to_delete.includes(key)
316
316
  ) {
317
317
  _data[key] = val;
318
318
  }
319
319
  }
320
320
 
321
+ if (dsSession && _session.DS_GLB[dsSession]) {
322
+ if (_session.DS_GLB[dsSession].refreshed) {
323
+ delete _data.filterModel;
324
+ }
325
+ }
326
+
321
327
  return cleanString(_data);
322
328
  };
323
329
  const validate_existence_of_whole_table_request = async function (db) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.805",
3
+ "version": "1.3.807",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {