@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.
- package/bundles/hivegpt-hiveai-angular.umd.js +5 -4
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +6 -4
- package/fesm2015/hivegpt-hiveai-angular.js +5 -3
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
1484
|
-
|
|
1485
|
-
button.
|
|
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
|
}());
|