@hivegpt/hiveai-angular 0.0.136 → 0.0.137
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 +10 -6
- 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 +10 -7
- package/fesm2015/hivegpt-hiveai-angular.js +9 -6
- 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
|
@@ -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 =
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
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
|
+
}, 200);
|
|
1485
1489
|
};
|
|
1486
1490
|
ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
|
|
1487
1491
|
this.isDrawerOpen = todo;
|