File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
ui/src/components/ai-chat/component/knowledge-source-component Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 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)" >
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" >
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 >
You can’t perform that action at this time.
0 commit comments