File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
ui/src/components/ai-chat/component/knowledge-source-component Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 33 shadow =" never"
44 :title =" index + 1 + '.' + data.title || '-'"
55 class =" paragraph-source-card cursor mb-8 paragraph-source-card-height"
6+ :style =" { 'height': data?.document_name?.trim() ? '300px' : '260px' }"
67 :class =" data.is_active ? '' : 'disabled'"
78 :showIcon =" false"
89 >
1718 </el-scrollbar >
1819
1920 <template #footer >
20- <el-card shadow =" never" style =" --el-card-padding : 8px " class =" w-full mb-12" >
21+ <el-card
22+ shadow =" never"
23+ style =" --el-card-padding : 8px "
24+ class =" w-full mb-12"
25+ v-if =" data?.document_name?.trim()"
26+ >
2127 <el-text class =" flex align-center item" >
2228 <img :src =" getImgUrl(data?.document_name?.trim())" alt =" " width =" 20" class =" mr-4" />
2329
@@ -81,9 +87,9 @@ const parsedMeta = computed(() => {
8187const meta = computed (() => (isMetaObject .value ? props .data .meta : parsedMeta .value ))
8288 </script >
8389<style lang="scss" scoped>
84- .paragraph-source-card-height {
85- height : 300px ;
86- }
90+ // .paragraph-source-card-height {
91+ // height: 300px;
92+ // }
8793
8894// @media only screen and (max-width: 768px) {
8995// .paragraph-source-card-height {
You can’t perform that action at this time.
0 commit comments