config-editor-base 2.1.8 → 2.2.0
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/dist/index.js
CHANGED
|
@@ -233,6 +233,8 @@ var handleUploadedFile = function handleUploadedFile(file, dropdown, schemaAry,
|
|
|
233
233
|
if (contentJSON != null) {
|
|
234
234
|
switch (true) {
|
|
235
235
|
case type == "uischema" && isValidUISchema(file.name):
|
|
236
|
+
console.log("contentJSON", contentJSON);
|
|
237
|
+
console.log("fileNameDisplay", fileNameDisplay);
|
|
236
238
|
dispatch(setUISchemaContent(contentJSON));
|
|
237
239
|
dispatch(resetLocalUISchemaList());
|
|
238
240
|
dispatch(setUISchemaFile([fileNameDisplay]));
|
|
@@ -346,6 +348,7 @@ var publicSchemaFiles = function publicSchemaFiles(selectedConfig, schemaAry, co
|
|
|
346
348
|
console.log("Unable to load embedded Rule Schema");
|
|
347
349
|
}
|
|
348
350
|
if (uiSchemaAryFiltered && uiSchemaAryFiltered.length) {
|
|
351
|
+
console.log("uiSchemaAryFiltered", uiSchemaAryFiltered);
|
|
349
352
|
dispatch(resetUISchemaList());
|
|
350
353
|
dispatch(setUISchemaFile(uiSchemaAryFiltered));
|
|
351
354
|
dispatch(setUISchemaContent(loadFile(uiSchemaAryFiltered[0])));
|