@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).filter(
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).filter(
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).filter(
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);
@@ -155,7 +155,7 @@ const index = {
155
155
  components: {
156
156
  Input: async () => Promise.resolve().then(() => require(
157
157
  /* webpackChunkName: "crm-trigger-params" */
158
- "../_chunks/index-CuMY0eo5.js"
158
+ "../_chunks/index-2rErXqfH.js"
159
159
  ))
160
160
  },
161
161
  options: {
@@ -154,7 +154,7 @@ const index = {
154
154
  components: {
155
155
  Input: async () => import(
156
156
  /* webpackChunkName: "crm-trigger-params" */
157
- "../_chunks/index-NvFKi6er.mjs"
157
+ "../_chunks/index-BMvCnlEy.mjs"
158
158
  )
159
159
  },
160
160
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inspirer-dev/crm-dashboard",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "CRM Dashboard and Tools",
5
5
  "strapi": {
6
6
  "name": "crm-dashboard",