@xuda.io/runtime-bundle 1.0.1295 → 1.0.1297
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/js/xuda-runtime-bundle.js +12 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +12 -1
- package/js/xuda-runtime-slim.min.es.js +12 -1
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +12 -1
- package/js/xuda-worker-bundle.js +12 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -30216,7 +30216,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30216
30216
|
datasource_changed.push(dataSource);
|
|
30217
30217
|
}
|
|
30218
30218
|
|
|
30219
|
-
if (field_id === 'watcher') {
|
|
30219
|
+
if (!glb.IS_WORKER && field_id === 'watcher') {
|
|
30220
30220
|
if (!server_datasource_changes[dataSource]) {
|
|
30221
30221
|
server_datasource_changes[dataSource] = {};
|
|
30222
30222
|
}
|
|
@@ -30225,6 +30225,17 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30225
30225
|
}
|
|
30226
30226
|
server_datasource_changes[dataSource][record_id][field_id] = value;
|
|
30227
30227
|
|
|
30228
|
+
if (!update_local_scope_only) {
|
|
30229
|
+
const ret = await func.index.call_worker(SESSION_ID, {
|
|
30230
|
+
service: 'update_datasource_changes_from_client',
|
|
30231
|
+
data: {
|
|
30232
|
+
session_id: SESSION_ID,
|
|
30233
|
+
datasource_changes: server_datasource_changes,
|
|
30234
|
+
},
|
|
30235
|
+
id: _ds.worker_id,
|
|
30236
|
+
});
|
|
30237
|
+
}
|
|
30238
|
+
|
|
30228
30239
|
await func.UI.screen.refresh_screen(
|
|
30229
30240
|
SESSION_ID,
|
|
30230
30241
|
klona.klona(fields_changed), // _.cloneDeep(fields_changed),
|