@xuda.io/runtime-bundle 1.0.1126 → 1.0.1127

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.
@@ -3030,12 +3030,13 @@ func.datasource.del = function (SESSION_ID, dsP) {
3030
3030
  delete SCREEN_BLOCKER_OBJ[SESSION_OBJ[SESSION_ID].DS_GLB[dsP].screenId + '_' + SESSION_OBJ[SESSION_ID].DS_GLB[dsP].callingScreenId];
3031
3031
 
3032
3032
  delete_pending_jobs();
3033
-
3034
- // for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
3035
- // if (ui_cache_val.paramsP.dsSessionP === dsP) {
3036
- // delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key];
3037
- // }
3038
- // }
3033
+ if (glb.new_xu_render) {
3034
+ for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
3035
+ if (ui_cache_val.paramsP.dsSessionP === dsP) {
3036
+ delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key];
3037
+ }
3038
+ }
3039
+ }
3039
3040
  }
3040
3041
  if ($(SESSION_OBJ[SESSION_ID].root_element).find('xu-nav').length) {
3041
3042
  var ds_obj = $(SESSION_OBJ[SESSION_ID].root_element).find('xu-nav')?.data()?.xuData.nav_params;
@@ -3030,12 +3030,13 @@ func.datasource.del = function (SESSION_ID, dsP) {
3030
3030
  delete SCREEN_BLOCKER_OBJ[SESSION_OBJ[SESSION_ID].DS_GLB[dsP].screenId + '_' + SESSION_OBJ[SESSION_ID].DS_GLB[dsP].callingScreenId];
3031
3031
 
3032
3032
  delete_pending_jobs();
3033
-
3034
- // for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
3035
- // if (ui_cache_val.paramsP.dsSessionP === dsP) {
3036
- // delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key];
3037
- // }
3038
- // }
3033
+ if (glb.new_xu_render) {
3034
+ for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
3035
+ if (ui_cache_val.paramsP.dsSessionP === dsP) {
3036
+ delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key];
3037
+ }
3038
+ }
3039
+ }
3039
3040
  }
3040
3041
  if ($(SESSION_OBJ[SESSION_ID].root_element).find('xu-nav').length) {
3041
3042
  var ds_obj = $(SESSION_OBJ[SESSION_ID].root_element).find('xu-nav')?.data()?.xuData.nav_params;