@hivegpt/hiveai-angular 0.0.196 → 0.0.197

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.
@@ -807,6 +807,7 @@
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;
810
811
  if (!currentChatMessage) {
811
812
  currentChatMessage = {
812
813
  _id: message_id_1,
@@ -832,7 +833,6 @@
832
833
  _this.isChatingWithAi = false;
833
834
  console.log('Answer:', answer);
834
835
  currentChatMessage.message = _this.processMessageForDisplay(answer);
835
- _this.showFeedBackIconsIndex = _this.chatLog.length - 1;
836
836
  _this.cdr.markForCheck();
837
837
  _this.scrollToBottom();
838
838
  }