@hivegpt/hiveai-angular 0.0.133 → 0.0.134

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.
@@ -1477,13 +1477,14 @@
1477
1477
  };
1478
1478
  ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
1479
1479
  this.isDrawerOpen = todo;
1480
+ this.cdr.detectChanges();
1480
1481
  this.updateButtonVisibility();
1481
1482
  };
1482
1483
  ChatDrawerComponent.prototype.updateButtonVisibility = function () {
1483
- var _this = this;
1484
- this.closePlaygroundButtons.forEach(function (button) {
1485
- button.nativeElement.style.display = _this.isDrawerOpen ? 'none' : 'block';
1486
- });
1484
+ var button = document.getElementById('botcloseplaygroundbutton');
1485
+ if (button) {
1486
+ button.style.display = this.isDrawerOpen ? 'block' : 'none';
1487
+ }
1487
1488
  };
1488
1489
  return ChatDrawerComponent;
1489
1490
  }());