We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e8460 commit be4f0ffCopy full SHA for be4f0ff
ui/src/components/ai-chat/component/knowledge-source-component/index.vue
@@ -131,7 +131,11 @@ const props = defineProps({
131
132
const emit = defineEmits(['openExecutionDetail', 'openParagraph', 'openParagraphDocument'])
133
const showPDF = (item: any) => {
134
- return item.document_name.toLocaleLowerCase().endsWith('.pdf') && item.meta?.source_file_id
+ return (
135
+ item.document_name.toLocaleLowerCase().endsWith('.pdf') &&
136
+ item.meta?.source_file_id &&
137
+ !props.executionIsRightPanel
138
+ )
139
}
140
const dialogVisible = ref(false)
141
const dialogTitle = ref('')
0 commit comments