@veloceapps/sdk 3.1.33 → 3.1.34

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.
@@ -1627,21 +1627,21 @@
1627
1627
  this.messageService = messageService;
1628
1628
  this.runtimeService = runtimeService;
1629
1629
  this.integrationState = integrationState;
1630
- this.clearState = true;
1630
+ this.clearState = false;
1631
1631
  this.state$ = new rxjs.BehaviorSubject({ loading: true, failure: false });
1632
1632
  this.elements = [];
1633
1633
  this.destroy$ = new rxjs.Subject();
1634
1634
  }
1635
1635
  PreviewComponent.prototype.ngOnInit = function () {
1636
+ if (this.clearState) {
1637
+ this.integrationState.clear();
1638
+ }
1636
1639
  this.startPreview();
1637
1640
  };
1638
1641
  PreviewComponent.prototype.ngOnDestroy = function () {
1639
1642
  this.destroy$.next();
1640
1643
  this.destroy$.complete();
1641
1644
  this.configurationService.reset();
1642
- if (this.clearState) {
1643
- this.integrationState.clear();
1644
- }
1645
1645
  };
1646
1646
  PreviewComponent.prototype.initializeConfiguration$ = function () {
1647
1647
  var _this = this;