mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-09 20:55:06 +02:00
prevent empty doc link click (#2170)
This commit is contained in:
@@ -452,7 +452,7 @@ export const AIMessage = ({
|
|||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href={doc.link}
|
href={doc.link || undefined}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className="text-sm flex w-full pt-1 gap-x-1.5 overflow-hidden justify-between font-semibold text-text-700"
|
className="text-sm flex w-full pt-1 gap-x-1.5 overflow-hidden justify-between font-semibold text-text-700"
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user