@xuda.io/runtime-bundle 1.0.1310 → 1.0.1312
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.
|
@@ -28225,7 +28225,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28225
28225
|
return createProxy(obj);
|
|
28226
28226
|
}
|
|
28227
28227
|
|
|
28228
|
-
const
|
|
28228
|
+
const watchedDs = createWatchedObject({ _ref: _ds }, async (change) => {
|
|
28229
28229
|
// console.log('Change detected:', change);
|
|
28230
28230
|
const { path, newValue } = change;
|
|
28231
28231
|
try {
|
|
@@ -28242,7 +28242,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28242
28242
|
|
|
28243
28243
|
//////////////
|
|
28244
28244
|
|
|
28245
|
-
let obj = { ds:
|
|
28245
|
+
let obj = { ds: watchedDs._ref, data: {}, props: _ds.in_parameters || {} };
|
|
28246
28246
|
try {
|
|
28247
28247
|
const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
28248
28248
|
obj.data = _ds?.data_feed?.rows?.[row_idx];
|