From f0914ed897a4eed08f6830881d2c1f7c7e854828 Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Wed, 7 Aug 2024 20:53:04 -0400 Subject: [PATCH] Fixed error processing doc ids --- .../src/components/Conversation/MessagingContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/coral_web/src/components/Conversation/MessagingContainer.tsx b/src/interfaces/coral_web/src/components/Conversation/MessagingContainer.tsx index 49275cbaa0..134502afdb 100644 --- a/src/interfaces/coral_web/src/components/Conversation/MessagingContainer.tsx +++ b/src/interfaces/coral_web/src/components/Conversation/MessagingContainer.tsx @@ -105,7 +105,7 @@ const Content: React.FC = (props) => { .filter((citation: any) => citation.tool_name === 'Minimap') // Extract and deduplicate doc_ids - let minimapCitationsUnique = new Set(minimapCitations.map((c: any) => parseInt(c.fields.doc_id, 10))); + let minimapCitationsUnique = new Set(minimapCitations.map((c: any) => parseInt(c.fields.document_id, 10))); const payload = { ids: Array.from(minimapCitationsUnique),