mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-21 06:10:19 +02:00
open chatdocument links in a new tab instead of overriding danswer (#2090)
Co-authored-by: Jos Van der westhuizen <jos@danser.ai>
This commit is contained in:
@@ -46,6 +46,7 @@ export function ChatDocumentDisplay({
|
||||
<div className="flex relative justify-start overflow-y-visible">
|
||||
<a
|
||||
href={document.link}
|
||||
target="_blank"
|
||||
className={
|
||||
"rounded-lg flex font-bold flex-shrink truncate" +
|
||||
(document.link ? "" : "pointer-events-none")
|
||||
|
Reference in New Issue
Block a user