impaktapps-ui-builder 0.0.393-alpha.19 → 0.0.393-alpha.20
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.
|
@@ -8614,23 +8614,9 @@ var service = (funcParams) => {
|
|
|
8614
8614
|
};
|
|
8615
8615
|
funcParams.store.setSchema(
|
|
8616
8616
|
(pre) => {
|
|
8617
|
-
const updatedProperties = {};
|
|
8618
|
-
const mergedProperties = {
|
|
8619
|
-
...pre.properties,
|
|
8620
|
-
...funcParams.schema.properties
|
|
8621
|
-
};
|
|
8622
|
-
Object.keys(mergedProperties).forEach((propertyName) => {
|
|
8623
|
-
const schemaProperty = funcParams.schema.properties[propertyName];
|
|
8624
|
-
if (schemaProperty && (schemaProperty.type === "Select" || schemaProperty.type === "MultipleSelect")) {
|
|
8625
|
-
if (schemaProperty.oneOf && schemaProperty.oneOf.length === 1 && schemaProperty.oneOf[0].const === "") {
|
|
8626
|
-
return;
|
|
8627
|
-
}
|
|
8628
|
-
}
|
|
8629
|
-
updatedProperties[propertyName] = schemaProperty;
|
|
8630
|
-
});
|
|
8631
8617
|
return {
|
|
8632
8618
|
...funcParams.schema,
|
|
8633
|
-
properties:
|
|
8619
|
+
properties: { ...pre.properties, ...funcParams.schema.properties }
|
|
8634
8620
|
};
|
|
8635
8621
|
}
|
|
8636
8622
|
);
|