@xuda.io/runtime-bundle 1.0.483 → 1.0.484

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.
@@ -30183,15 +30183,6 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30183
30183
  }
30184
30184
  };
30185
30185
 
30186
- const update_xu_ref = async function () {
30187
- let _ds_0 = _session.DS_GLB[0];
30188
- for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
30189
- if (val.ds.dsSession == dataSource) {
30190
- func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
30191
- }
30192
- }
30193
- };
30194
-
30195
30186
  var fields_changed = [];
30196
30187
  var datasource_changed = [];
30197
30188
  let client_datasource_changes = {};
@@ -30202,6 +30193,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30202
30193
  if (!_ds) {
30203
30194
  continue;
30204
30195
  }
30196
+
30197
+ const update_xu_ref = async function () {
30198
+ let _ds_0 = _session.DS_GLB[0];
30199
+ for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
30200
+ if (val.ds.dsSession == dataSource) {
30201
+ func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
30202
+ }
30203
+ }
30204
+ };
30205
+
30205
30206
  // iterate changes records
30206
30207
  for (const [record_id, fields_data] of Object.entries(row_data)) {
30207
30208
  // iterate changes fields