Skip to content

Commit 958924e

Browse files
fix: execution details
1 parent 48959a1 commit 958924e

File tree

1 file changed

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

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<template>
22
<div class="chat-knowledge-source">
3-
<div class="flex align-center mt-16" v-if="type === 'log' || application.show_source">
3+
<div
4+
class="flex align-center mt-16"
5+
v-if="type === 'log' || type === 'debug-ai-chat' ? true : application.show_source"
6+
>
47
<span class="mr-4 color-secondary">{{ $t('chat.KnowledgeSource.title') }}</span>
58
<el-divider direction="vertical" />
69
<el-button type="primary" class="mr-8" link @click="openParagraph(data)">
@@ -9,7 +12,10 @@
912
{{ data.paragraph_list?.length || 0 }}</el-button
1013
>
1114
</div>
12-
<div class="mt-8" v-if="type === 'log' || application.show_source">
15+
<div
16+
class="mt-8"
17+
v-if="type === 'log' || type === 'debug-ai-chat' ? true : application.show_source"
18+
>
1319
<el-row :gutter="8" v-if="uniqueParagraphList?.length">
1420
<template v-for="(item, index) in uniqueParagraphList" :key="index">
1521
<el-col :span="12" class="mb-8">
@@ -44,7 +50,7 @@
4450
</div>
4551

4652
<div
47-
v-if="type === 'log' || application.show_exec"
53+
v-if="type === 'log' || type === 'debug-ai-chat' ? true : application.show_exec"
4854
class="execution-details border-t color-secondary flex-between mt-12"
4955
style="padding-top: 12px; padding-bottom: 8px"
5056
>

0 commit comments

Comments
 (0)