@hivegpt/hiveai-angular 0.0.236 → 0.0.238
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 +4 -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 +5 -2
- package/fesm2015/hivegpt-hiveai-angular.js +4 -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
|
@@ -820,6 +820,9 @@
|
|
|
820
820
|
};
|
|
821
821
|
ChatDrawerComponent.prototype.listenSockets = function () {
|
|
822
822
|
var _this = this;
|
|
823
|
+
if (this.eventSubscription) {
|
|
824
|
+
this.eventSubscription.unsubscribe();
|
|
825
|
+
}
|
|
823
826
|
this.eventSubscription = this.conversationService
|
|
824
827
|
.getUserSpecificNotification()
|
|
825
828
|
.subscribe(function (res) {
|
|
@@ -1804,7 +1807,7 @@
|
|
|
1804
1807
|
if (button) {
|
|
1805
1808
|
button.style.display = 'block';
|
|
1806
1809
|
}
|
|
1807
|
-
},
|
|
1810
|
+
}, 300);
|
|
1808
1811
|
};
|
|
1809
1812
|
ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
|
|
1810
1813
|
this.isDrawerOpen = todo;
|