@hivegpt/hiveai-angular 0.0.197 → 0.0.198
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 +1 -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 +2 -2
- package/fesm2015/hivegpt-hiveai-angular.js +1 -1
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/package.json +1 -1
|
@@ -807,7 +807,6 @@
|
|
|
807
807
|
if ((_a = res === null || res === void 0 ? void 0 : res.m) === null || _a === void 0 ? void 0 : _a.OtherFields) {
|
|
808
808
|
var _e = (_b = res === null || res === void 0 ? void 0 : res.m) === null || _b === void 0 ? void 0 : _b.OtherFields, conversation_id = _e.conversation_id, bot_id = _e.bot_id, message_id_1 = _e.message_id, answer = _e.answer, web_results = _e.web_results, financial_graphs = _e.financial_graphs, execution_graphs = _e.execution_graphs, online_search_terms = _e.online_search_terms, suggestions = _e.suggestions;
|
|
809
809
|
var currentChatMessage = _this.chatLog.find(function (p) { return p._id == message_id_1; });
|
|
810
|
-
_this.showFeedBackIconsIndex = _this.chatLog.length - 1;
|
|
811
810
|
if (!currentChatMessage) {
|
|
812
811
|
currentChatMessage = {
|
|
813
812
|
_id: message_id_1,
|
|
@@ -815,6 +814,7 @@
|
|
|
815
814
|
time: formatNow(_this.timezone),
|
|
816
815
|
};
|
|
817
816
|
_this.chatLog.push(currentChatMessage);
|
|
817
|
+
_this.showFeedBackIconsIndex = _this.chatLog.length - 1;
|
|
818
818
|
}
|
|
819
819
|
// Handle the fields based on their presence
|
|
820
820
|
if (online_search_terms && Array.isArray(online_search_terms)) {
|