@xuda.io/xuda-worker-bundle-min 1.3.889 → 1.3.891
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.
- package/index.js +15 -14
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4489,21 +4489,22 @@ func.datasource.get_value = async function (
|
|
|
4489
4489
|
if (!org_dsSessionP && recordId) {
|
|
4490
4490
|
try {
|
|
4491
4491
|
const row_idx = func.common.find_ROWID_idx(_ds, recordId);
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4492
|
+
if (typeof _ds.data_feed?.rows?.[row_idx]?.[_field_id] !== "undefined") {
|
|
4493
|
+
if (
|
|
4494
|
+
Object.keys(_ds.data_feed?.rows?.[row_idx] || {})?.includes(_field_id)
|
|
4495
|
+
) {
|
|
4496
|
+
return await return_value(
|
|
4497
|
+
_field_id,
|
|
4498
|
+
_ds.data_feed.rows[row_idx][_field_id]
|
|
4499
|
+
);
|
|
4500
|
+
}
|
|
4501
4501
|
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4502
|
+
if (Object.keys(_ds?.dynamic_fields || {})?.includes(_field_id)) {
|
|
4503
|
+
return await return_dynamic_value(
|
|
4504
|
+
_field_id,
|
|
4505
|
+
_ds.dynamic_fields[_field_id]
|
|
4506
|
+
);
|
|
4507
|
+
}
|
|
4507
4508
|
}
|
|
4508
4509
|
} catch (err) {
|
|
4509
4510
|
// console.error(err);
|