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