@xuda.io/xuda-worker-bundle-min 1.3.2320 → 1.3.2321

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 +11 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3199,6 +3199,17 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
3199
3199
  }
3200
3200
  server_datasource_changes[dataSource][record_id][field_id] = value;
3201
3201
 
3202
+ if (!update_local_scope_only) {
3203
+ const ret = await func.index.call_worker(SESSION_ID, {
3204
+ service: 'update_datasource_changes_from_client',
3205
+ data: {
3206
+ session_id: SESSION_ID,
3207
+ datasource_changes: server_datasource_changes,
3208
+ },
3209
+ id: _ds.worker_id,
3210
+ });
3211
+ }
3212
+
3202
3213
  await func.UI.screen.refresh_screen(
3203
3214
  SESSION_ID,
3204
3215
  klona.klona(fields_changed), // _.cloneDeep(fields_changed),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.2320",
3
+ "version": "1.3.2321",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {