@xuda.io/runtime-bundle 1.0.1291 → 1.0.1293

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.
@@ -32041,12 +32041,16 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32041
32041
  var _session = SESSION_OBJ[SESSION_ID];
32042
32042
  var _ds = _session.DS_GLB[paramsP.dsSessionP];
32043
32043
  var _refreshed_ds = _session.DS_GLB[refreshed_ds];
32044
- const create_new_ds = refreshed_ds && _refreshed_ds?.prog_id !== prog_id;
32045
- //const create_new_ds = prog_id !== _ds.prog_id
32046
32044
 
32047
32045
  const init_program = async function () {
32048
32046
  async function render_panel() {
32049
32047
  const prog_id = val.value?.prog || val.value;
32048
+
32049
+ let create_new_ds = true;
32050
+ if (refreshed_ds && _refreshed_ds?.prog_id === prog_id) {
32051
+ create_new_ds = false;
32052
+ }
32053
+
32050
32054
  const params_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
32051
32055
  //prog_id !== _ds.prog_id ? null : refreshed_ds
32052
32056
  let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, params_obj.params_res, 'initXu_panel', undefined, create_new_ds ? null : refreshed_ds, params_obj.params_raw);