mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
fix source link return host name
This commit is contained in:
@@ -346,7 +346,9 @@ export const ChatMessage = ({ open, chatflowid, isDialog }) => {
|
|||||||
key={index}
|
key={index}
|
||||||
label={
|
label={
|
||||||
URL
|
URL
|
||||||
? `${URL.pathname.substring(0, 15)}...`
|
? URL.pathname.substring(0, 15) === '/'
|
||||||
|
? URL.host
|
||||||
|
: `${URL.pathname.substring(0, 15)}...`
|
||||||
: `${source.pageContent.substring(0, 15)}...`
|
: `${source.pageContent.substring(0, 15)}...`
|
||||||
}
|
}
|
||||||
component='a'
|
component='a'
|
||||||
|
|||||||
Reference in New Issue
Block a user