@xuda.io/runtime-bundle 1.0.680 → 1.0.682

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.
@@ -2234,7 +2234,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
2234
2234
  }
2235
2235
 
2236
2236
  // initiated with Update but no rows found
2237
- if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
2237
+ // if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
2238
+ if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_raw_data_rows?.length) {
2238
2239
  _ds.set_mode = 'C';
2239
2240
  // _raw_data_rows[glb.newRecord] = [{ _ROWID: "newRecord" }];
2240
2241
 
@@ -2234,7 +2234,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
2234
2234
  }
2235
2235
 
2236
2236
  // initiated with Update but no rows found
2237
- if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
2237
+ // if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
2238
+ if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_raw_data_rows?.length) {
2238
2239
  _ds.set_mode = 'C';
2239
2240
  // _raw_data_rows[glb.newRecord] = [{ _ROWID: "newRecord" }];
2240
2241