@hivegpt/hiveai-angular 0.0.137 → 0.0.139
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 +2 -1
- 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 +3 -2
- package/fesm2015/hivegpt-hiveai-angular.js +2 -1
- 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
|
@@ -1478,6 +1478,7 @@
|
|
|
1478
1478
|
var _this = this;
|
|
1479
1479
|
this.sourcesDrawer.close();
|
|
1480
1480
|
this.isDrawerOpen = false;
|
|
1481
|
+
this.cdr.detectChanges(); // Trigger change detection if needed
|
|
1481
1482
|
setTimeout(function () {
|
|
1482
1483
|
_this.isDrawerOpen = true;
|
|
1483
1484
|
_this.cdr.detectChanges();
|
|
@@ -1485,7 +1486,7 @@
|
|
|
1485
1486
|
if (button) {
|
|
1486
1487
|
button.style.display = 'block';
|
|
1487
1488
|
}
|
|
1488
|
-
},
|
|
1489
|
+
}, 400);
|
|
1489
1490
|
};
|
|
1490
1491
|
ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
|
|
1491
1492
|
this.isDrawerOpen = todo;
|