Skip to content

Commit 83296d7

Browse files
committed
fix: Clicking on the web Q&A of the knowledge source did not redirect to the corresponding link
1 parent 1a2a02b commit 83296d7

File tree

1 file changed

+1
-1
lines changed
  • ui/src/components/ai-chat/component/knowledge-source-component

1 file changed

+1
-1
lines changed

ui/src/components/ai-chat/component/knowledge-source-component/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</div>
2828
<div class="ml-8" v-else>
2929
<a
30-
:href="getFileUrl(item?.meta?.source_file_id || item?.source_url)"
30+
:href="getFileUrl(item?.meta?.source_file_id) || item?.meta?.source_url"
3131
target="_blank"
3232
class="ellipsis-1"
3333
:title="item?.document_name?.trim()"

0 commit comments

Comments
 (0)