Skip to content

Commit

Permalink
perf: KnowledgeSource filename too long
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud committed Jan 2, 2025
1 parent d4c605f commit 0272fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/ai-chat/KnowledgeSource.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="flex-between">
<div class="flex">
<img :src="getImgUrl(item && item?.document_name)" alt="" width="20" />
<div class="ml-4" v-if="!item.source_url">
<div class="ml-4 ellipsis-1" :title="item?.document_name" v-if="!item.source_url">
<p>{{ item && item?.document_name }}</p>
</div>
<div class="ml-8" v-else>
Expand Down

0 comments on commit 0272fe7

Please sign in to comment.