update UI Chat Message source links

This commit is contained in:
Henry
2023-08-03 16:21:48 +01:00
parent 3cbe16e25f
commit d208eae868
@@ -346,7 +346,7 @@ export const ChatMessage = ({ open, chatflowid, isDialog }) => {
key={index}
label={
URL
? `${(URL.hostname + URL.pathname).substring(0, 15)}...`
? `${URL.pathname.substring(0, 15)}...`
: `${source.pageContent.substring(0, 15)}...`
}
component='a'