diff --git a/web/src/app/chat/message/Messages.tsx b/web/src/app/chat/message/Messages.tsx
index c8a95c4edfd2..9ee7f47a6301 100644
--- a/web/src/app/chat/message/Messages.tsx
+++ b/web/src/app/chat/message/Messages.tsx
@@ -520,6 +520,7 @@ export const AIMessage = ({
)}
+
{handleFeedback &&
(isActive ? (
- {quotes !== null && answer && (
+ {quotes !== null && quotes.length > 0 && answer && (
{
return <>Extracting quotes...>;
}
- if (!quotes || quotes.length === 0) {
- return <>No quotes found>;
- }
-
return <>Quotes>;
};
@@ -86,16 +82,6 @@ const QuotesBody = ({ quotes, isFetching }: QuotesSectionProps) => {
return ;
}
- if (!isFetching && (!quotes || !quotes.length)) {
- return (
-
-
- Did not find any exact quotes to support the above answer.
-
-
- );
- }
-
return (
{quotes!.map((quoteInfo) => (