@xuda.io/xuda-worker-bundle-min 1.3.526 → 1.3.528
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3016,10 +3016,10 @@ func.datasource.execute_field_init_events = async function (
|
|
|
3016
3016
|
|
|
3017
3017
|
for await (const [key, val] of Object.entries(arr)) {
|
|
3018
3018
|
if (!func.utils.is_onscreen_event(val.eventInfo.data.action)) {
|
|
3019
|
-
var cond = val?.eventInfo?.data?.
|
|
3019
|
+
var cond = val?.eventInfo?.data?.enabled;
|
|
3020
3020
|
var expression = undefined;
|
|
3021
3021
|
if (val.eventInfo.props.condition)
|
|
3022
|
-
expression = val.
|
|
3022
|
+
expression = val.eventInfo.props.condition;
|
|
3023
3023
|
var expCond = {};
|
|
3024
3024
|
if (expression && !_.isEmpty(expression)) {
|
|
3025
3025
|
// check if expression exist
|
|
@@ -3050,7 +3050,7 @@ func.datasource.execute_field_init_events = async function (
|
|
|
3050
3050
|
SESSION_ID,
|
|
3051
3051
|
null,
|
|
3052
3052
|
val.triggerId,
|
|
3053
|
-
val.eventInfo.data.trigger,
|
|
3053
|
+
val.eventInfo.data.name, //val.eventInfo.data.trigger,
|
|
3054
3054
|
val.eventInfo.data.action,
|
|
3055
3055
|
val.eventInfo.data.name, //eventInfo[5],
|
|
3056
3056
|
null,
|