@hivegpt/hiveai-angular 0.0.136 → 0.0.138

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.
@@ -1475,13 +1475,17 @@
1475
1475
  }
1476
1476
  };
1477
1477
  ChatDrawerComponent.prototype.onCloseSource = function () {
1478
+ var _this = this;
1478
1479
  this.sourcesDrawer.close();
1479
- this.isDrawerOpen = true;
1480
- var button = document.getElementById('botcloseplaygroundbutton');
1481
- if (button) {
1482
- button.style.display = 'block';
1483
- }
1484
- this.cdr.detectChanges();
1480
+ this.isDrawerOpen = false;
1481
+ setTimeout(function () {
1482
+ _this.isDrawerOpen = true;
1483
+ _this.cdr.detectChanges();
1484
+ var button = document.getElementById('botcloseplaygroundbutton');
1485
+ if (button) {
1486
+ button.style.display = 'block';
1487
+ }
1488
+ }, 400);
1485
1489
  };
1486
1490
  ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
1487
1491
  this.isDrawerOpen = todo;