@veloceapps/sdk 4.0.5-1 → 4.0.5

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.
@@ -1646,6 +1646,7 @@
1646
1646
  this.configurationService.reset();
1647
1647
  };
1648
1648
  PreviewComponent.prototype.initializeConfiguration$ = function () {
1649
+ var _this = this;
1649
1650
  var isAlreadyInitialized = this.runtimeService.isInitialized;
1650
1651
  if (!this.uiDefinition || this.uiDefinition.type !== 'CONFIGURATION' || isAlreadyInitialized) {
1651
1652
  return rxjs.of({});
@@ -1655,8 +1656,9 @@
1655
1656
  return rxjs.of({});
1656
1657
  }
1657
1658
  // If still not initialized - init configuration in Test mode
1658
- return this.runtimeService.initTestMode(this.modelId, this.uiDefinition);
1659
- // .pipe(switchMap(() => this.configurationService.configure()));
1659
+ return this.runtimeService
1660
+ .initTestMode(this.modelId, this.uiDefinition)
1661
+ .pipe(rxjs.switchMap(function () { return _this.configurationService.configure(); }));
1660
1662
  };
1661
1663
  PreviewComponent.prototype.elementToMetadataSafe = function (elements) {
1662
1664
  var _a, _b;