diff --git a/ui/src/conversation-panel/right-sidebar/execution-detail/index.vue b/ui/src/conversation-panel/right-sidebar/execution-detail/index.vue
index 2a71eef9f8e..145b6e84af9 100644
--- a/ui/src/conversation-panel/right-sidebar/execution-detail/index.vue
+++ b/ui/src/conversation-panel/right-sidebar/execution-detail/index.vue
@@ -3,11 +3,12 @@ import { useI18n } from 'vue-i18n'
import ExecutionDetailContent from '@/workflow-canvas/execution-details/index.vue'
import { WorkflowMode } from '@/workflow-canvas/types'
import { useRightSidebarStore } from '../index'
+import { useViewType } from '@/conversation-panel/view';
withDefaults(defineProps<{ workflowMode?: WorkflowMode }>(), {
workflowMode: WorkflowMode.Application,
})
-
+const viewType = useViewType()
const { t } = useI18n({ useScope: 'global' })
const { executionDetail, closeRightSide } = useRightSidebarStore()
const { executionDetails: detail } = executionDetail
@@ -17,9 +18,15 @@ const { executionDetails: detail } = executionDetail
-
{{ t('execution.details.title') }}
+
+
+
+
+
+
{{ t('execution.details.title') }}
+
-
+
diff --git a/ui/src/conversation-panel/right-sidebar/knowledge-source/index.vue b/ui/src/conversation-panel/right-sidebar/knowledge-source/index.vue
index 6f947b9206b..fd9a27ef144 100644
--- a/ui/src/conversation-panel/right-sidebar/knowledge-source/index.vue
+++ b/ui/src/conversation-panel/right-sidebar/knowledge-source/index.vue
@@ -4,9 +4,10 @@ import { DOCUMENT_RESOURCE_TYPE } from '@/api/enums'
import { useRightSidebarStore } from '../index'
import DocumentPreview from './document-preview/index.vue'
import { getFileIconUrl } from '@/utils/icon'
+import { useViewType } from '@/conversation-panel/view/index.ts'
defineOptions({ name: 'KnowledgeSource' })
-
+const viewType = useViewType()
const { t } = useI18n({ useScope: 'global' })
const { knowledgeSource, closeRightSide } = useRightSidebarStore()
const { previewDocument, sourceParagraphs, count, openDocument } = knowledgeSource
@@ -18,9 +19,14 @@ const { previewDocument, sourceParagraphs, count, openDocument } = knowledgeSour
-
{{ t('chat.knowledgeSource.label') }} ({{ count }})
+
+
+
+
+
{{ t('chat.knowledgeSource.label') }} ({{ count }})
+
-
+
@@ -43,28 +49,17 @@ const { previewDocument, sourceParagraphs, count, openDocument } = knowledgeSour
-
+
-
+
-
![]()
+
{{ paragraph.documentName }}