@xuda.io/runtime-bundle 1.0.648 → 1.0.650

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.
@@ -32868,14 +32868,16 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32868
32868
  const get_xuExp = async function (attrib) {
32869
32869
  if (is_skeleton) return;
32870
32870
  const attr = `xu-exp:${attrib}`;
32871
+
32872
+ if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
32871
32873
  // const attr = `xu-exp-${attrib}`;
32872
- var value = nodeP.attributes[attr];
32873
- if (!value) return func.UI.screen.fix_val_defaults(attrib, value || nodeP.attributes[attrib]);
32874
+ var exp = nodeP.attributes[attr];
32875
+ // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
32874
32876
 
32875
- var res = await func.expression.get(SESSION_ID, value, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
32876
- nodeP.attributes[attr] = value; //{ value: value, res: res };
32877
+ var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
32878
+ // nodeP.attributes[attr] = value; //{ value: value, res: res };
32877
32879
  done_exp.push(attr);
32878
- return func.UI.screen.fix_val_defaults(attrib, res.result);
32880
+ return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
32879
32881
  };
32880
32882
 
32881
32883
  var _ret = {};