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.
@@ -432,6 +432,7 @@ var resetLocalSchemaList = function resetLocalSchemaList() {
432
432
  };
433
433
  };
434
434
  var checkConfigTransmitPeriodDelay = function checkConfigTransmitPeriodDelay(content) {
435
+ console.log("We get outside dispatch?");
435
436
  return function (dispatch) {
436
437
  console.log("We get here right?");
437
438
 
@@ -472,6 +473,11 @@ var checkConfigTransmitMonitoring = function checkConfigTransmitMonitoring(conte
472
473
  };
473
474
  var saveUpdatedConfiguration = function saveUpdatedConfiguration(filename, content) {
474
475
  return function (dispatch) {
476
+ if (content.can_2 != undefined) {
477
+ console.log("What about here?");
478
+ dispatch(checkConfigTransmitPeriodDelay(content));
479
+ dispatch(checkConfigTransmitMonitoring(content));
480
+ }
475
481
 
476
482
  dispatch(setConfigContent(content));
477
483
  var blob = new Blob([JSON.stringify(content, null, 2)], {