mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-26 03:48:49 +02:00
prevent empty doc link click (#2170)
This commit is contained in:
@@ -452,7 +452,7 @@ export const AIMessage = ({
|
||||
`}
|
||||
>
|
||||
<a
|
||||
href={doc.link}
|
||||
href={doc.link || undefined}
|
||||
target="_blank"
|
||||
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