@xuda.io/xuda-worker-bundle 1.3.2075 → 1.3.2076

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 +5 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3236,7 +3236,11 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3236
3236
  }
3237
3237
  ///// REFRESH SCREEN
3238
3238
  if (fields_changed.length) {
3239
- await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed), null, null, null, avoid_xu_for_refresh);
3239
+ function findMin(arr) {
3240
+ return Math.min(...arr.map(Number));
3241
+ }
3242
+
3243
+ await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed), null, null, findMin(datasource_changed), avoid_xu_for_refresh);
3240
3244
  // await removed from the below function cause to dead lock Mar 3 25
3241
3245
  await func.UI.screen.refresh_screen(
3242
3246
  SESSION_ID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.2075",
3
+ "version": "1.3.2076",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {