@integry/sdk 4.5.33 → 4.5.34
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/package.json
CHANGED
|
@@ -181,7 +181,9 @@ class FunctionForm extends Component<
|
|
|
181
181
|
value === 1;
|
|
182
182
|
break;
|
|
183
183
|
case 'number':
|
|
184
|
-
|
|
184
|
+
if (value) {
|
|
185
|
+
value = Number(value);
|
|
186
|
+
}
|
|
185
187
|
break;
|
|
186
188
|
case 'string':
|
|
187
189
|
value = String(value);
|
|
@@ -215,7 +217,9 @@ class FunctionForm extends Component<
|
|
|
215
217
|
}
|
|
216
218
|
|
|
217
219
|
// Assign the correctly cast value to args
|
|
218
|
-
|
|
220
|
+
if (value) {
|
|
221
|
+
args[key] = value;
|
|
222
|
+
}
|
|
219
223
|
});
|
|
220
224
|
|
|
221
225
|
this.props.onClose(args);
|