diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index 92411a3e..65b5fbef 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -60,7 +60,7 @@ const ConversationBubble = forwardRef<
{message} + {DisableSourceFE || type === 'ERROR' ? null : ( + + )} +
+ {DisableSourceFE || type === 'ERROR' ? null : ( +
+ Sources: +
+ )} +
+ {DisableSourceFE + ? null + : sources?.map((source, index) => ( +
+ setOpenSource(openSource === index ? null : index) + } + > +

+ {index + 1}. {source.title} +

+
+ ))} +
+
-
- {DisableSourceFE - ? null - : sources?.map((source, index) => ( -
- setOpenSource(openSource === index ? null : index) - } - > -

- {index + 1}. {source.title} -

-
- ))} -
{sources && openSource !== null && sources[openSource] && (