Skip to content

Commit 94a4fd6

Browse files
authored
Show title of source documents
1 parent 3c243be commit 94a4fd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/bubbles/BotBubble.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export const BotBubble = (props: Props) => {
434434
const URL = isValidURL(src.metadata.source);
435435
return (
436436
<SourceBubble
437-
pageContent={URL ? URL.pathname : src.pageContent}
437+
pageContent={src.metadata.title ? src.metadata.title : URL ? URL.pathname : src.pageContent}
438438
metadata={src.metadata}
439439
onSourceClick={() => {
440440
if (URL) {

0 commit comments

Comments
 (0)