@hivegpt/hiveai-angular 0.0.268 → 0.0.271

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.
@@ -922,6 +922,7 @@
922
922
  if (this.eventSubscription) {
923
923
  this.eventSubscription.unsubscribe();
924
924
  }
925
+ this.socketService.disconnectSocketConnection();
925
926
  //this.socketService.close();
926
927
  };
927
928
  ChatDrawerComponent.prototype.changeTemperature = function (newTemperature) {
@@ -2235,14 +2236,17 @@
2235
2236
  };
2236
2237
  }
2237
2238
  BotHtmlEditorComponent.prototype.ngOnInit = function () {
2239
+ var _this = this;
2238
2240
  this.environment = prod_environment;
2239
- if (this.isDocInEditMode) {
2240
- console.log('In Edit mode');
2241
- this.filldataInForm();
2242
- }
2243
- else {
2244
- console.log('In save mode');
2245
- }
2241
+ setTimeout(function () {
2242
+ if (_this.isDocInEditMode) {
2243
+ console.log('In Edit mode');
2244
+ _this.filldataInForm();
2245
+ }
2246
+ else {
2247
+ console.log('In save mode');
2248
+ }
2249
+ }, 2500);
2246
2250
  };
2247
2251
  BotHtmlEditorComponent.prototype.filldataInForm = function () {
2248
2252
  var _a, _b;