@inspirer-dev/crm-dashboard 1.0.82 → 1.0.83
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.
|
@@ -89,9 +89,7 @@ const TriggerParamsField = forwardRef<HTMLDivElement, TriggerParamsFieldProps>(
|
|
|
89
89
|
onChange({ target: { name, value: serialize(next) } });
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
const activeKeys = Object.keys(params)
|
|
93
|
-
(k) => params[k] !== undefined && params[k] !== null
|
|
94
|
-
);
|
|
92
|
+
const activeKeys = Object.keys(params);
|
|
95
93
|
|
|
96
94
|
const availableParams = TRIGGER_PARAMS.filter((p) => !activeKeys.includes(p.key));
|
|
97
95
|
|
|
@@ -148,9 +148,7 @@ const TriggerParamsField = React.forwardRef(
|
|
|
148
148
|
setParams(next);
|
|
149
149
|
onChange({ target: { name, value: serialize(next) } });
|
|
150
150
|
};
|
|
151
|
-
const activeKeys = Object.keys(params)
|
|
152
|
-
(k) => params[k] !== void 0 && params[k] !== null
|
|
153
|
-
);
|
|
151
|
+
const activeKeys = Object.keys(params);
|
|
154
152
|
const availableParams = TRIGGER_PARAMS.filter((p) => !activeKeys.includes(p.key));
|
|
155
153
|
const addParam = (key) => {
|
|
156
154
|
const def = TRIGGER_PARAMS.find((p) => p.key === key);
|
|
@@ -146,9 +146,7 @@ const TriggerParamsField = forwardRef(
|
|
|
146
146
|
setParams(next);
|
|
147
147
|
onChange({ target: { name, value: serialize(next) } });
|
|
148
148
|
};
|
|
149
|
-
const activeKeys = Object.keys(params)
|
|
150
|
-
(k) => params[k] !== void 0 && params[k] !== null
|
|
151
|
-
);
|
|
149
|
+
const activeKeys = Object.keys(params);
|
|
152
150
|
const availableParams = TRIGGER_PARAMS.filter((p) => !activeKeys.includes(p.key));
|
|
153
151
|
const addParam = (key) => {
|
|
154
152
|
const def = TRIGGER_PARAMS.find((p) => p.key === key);
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED