kwikid-forms 0.2.7 → 0.2.9
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.
|
@@ -4238,12 +4238,17 @@
|
|
|
4238
4238
|
}
|
|
4239
4239
|
}
|
|
4240
4240
|
};
|
|
4241
|
-
if (kwikidToolkit.
|
|
4242
|
-
|
|
4243
|
-
stepConfig = kwikidToolkit.setValueToObjectPath(stepConfig, "props", stepConfigProperties);
|
|
4241
|
+
if (kwikidToolkit.isNull(stepConfig) || kwikidToolkit.isUndefined(stepConfig)) {
|
|
4242
|
+
stepConfig = kwikidToolkit.setValueToObjectPath({}, "props", stepConfigProperties);
|
|
4244
4243
|
}
|
|
4245
4244
|
else {
|
|
4246
|
-
|
|
4245
|
+
if (kwikidToolkit.checkObjectKeyExists(stepConfig, "props")) {
|
|
4246
|
+
stepConfigProperties = kwikidToolkit.mergeObjects(stepConfigProperties, stepConfig.props);
|
|
4247
|
+
stepConfig = kwikidToolkit.setValueToObjectPath(stepConfig, "props", stepConfigProperties);
|
|
4248
|
+
}
|
|
4249
|
+
else {
|
|
4250
|
+
stepConfig = kwikidToolkit.setValueToObjectPath(stepConfig, "props", stepConfigProperties);
|
|
4251
|
+
}
|
|
4247
4252
|
}
|
|
4248
4253
|
return stepConfig;
|
|
4249
4254
|
};
|