config-editor-base 2.1.0 → 2.1.2
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 +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -435,6 +435,7 @@ var resetLocalSchemaList = function resetLocalSchemaList() {
|
|
|
435
435
|
};
|
|
436
436
|
};
|
|
437
437
|
var checkConfigTransmitPeriodDelay = function checkConfigTransmitPeriodDelay(content) {
|
|
438
|
+
console.log("We get outside dispatch?");
|
|
438
439
|
return function (dispatch) {
|
|
439
440
|
console.log("We get here right?");
|
|
440
441
|
|
|
@@ -475,6 +476,11 @@ var checkConfigTransmitMonitoring = function checkConfigTransmitMonitoring(conte
|
|
|
475
476
|
};
|
|
476
477
|
var saveUpdatedConfiguration = function saveUpdatedConfiguration(filename, content) {
|
|
477
478
|
return function (dispatch) {
|
|
479
|
+
if (content.can_2 != undefined) {
|
|
480
|
+
console.log("What about here?");
|
|
481
|
+
dispatch(checkConfigTransmitPeriodDelay(content));
|
|
482
|
+
dispatch(checkConfigTransmitMonitoring(content));
|
|
483
|
+
}
|
|
478
484
|
|
|
479
485
|
dispatch(setConfigContent(content));
|
|
480
486
|
var blob = new Blob([JSON.stringify(content, null, 2)], {
|