Skip to content

Commit 1fc2e5a

Browse files
committed
only display link panel when we have documents
1 parent 3735e42 commit 1fc2e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/answerQuestion.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function AskDustQuestion({ question, agent = DUST_AGENT }: { question: st
8989
<Action.CopyToClipboard content={dustAnswer} shortcut={{ modifiers: ["cmd"], key: "." }} />
9090
</>
9191
)}
92-
{dustDocuments && (
92+
{dustDocuments && dustDocuments.length > 0 && (
9393
<Action.Push
9494
title="Source Urls"
9595
icon={Icon.BulletPoints}

0 commit comments

Comments
 (0)