mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-09 12:54:47 +08:00
Fix: The pipeline column header in the FileLogsTable is displaying incorrectly. (#14489)
### What problem does this PR solve? Fix: The pipeline column header in the FileLogsTable is displaying incorrectly. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -286,6 +286,7 @@ Example: A 1 KB message with 1024-dim embedding uses ~9 KB. The 5 MB default lim
|
||||
raptor: 'RAPTOR',
|
||||
processingType: 'Processing type',
|
||||
dataPipeline: 'Switch or configure ingestion pipeline.',
|
||||
dataPipelineTitle: 'Ingestion pipeline',
|
||||
operations: 'Operations',
|
||||
taskId: 'Task ID',
|
||||
duration: 'Duration',
|
||||
|
||||
@@ -242,6 +242,7 @@ export default {
|
||||
raptor: 'RAPTOR',
|
||||
processingType: '处理类型',
|
||||
dataPipeline: '切换或配置 ingestion pipeline。',
|
||||
dataPipelineTitle: '数据管道',
|
||||
operations: '操作',
|
||||
taskId: '任务ID',
|
||||
duration: '耗时',
|
||||
|
||||
@@ -220,7 +220,6 @@ const FileLogsPage: FC = () => {
|
||||
}, [active, t]);
|
||||
|
||||
const tableList = useMemo(() => {
|
||||
console.log('tableList', tableOriginData);
|
||||
if (tableOriginData && tableOriginData.logs?.length) {
|
||||
return tableOriginData.logs.map((item) => {
|
||||
return {
|
||||
|
||||
@@ -130,7 +130,7 @@ export const getFileLogsTableColumns = (
|
||||
},
|
||||
{
|
||||
accessorKey: 'pipeline_title',
|
||||
header: t('dataPipeline'),
|
||||
header: t('dataPipelineTitle'),
|
||||
cell: ({ row }) => {
|
||||
const title = row.original.pipeline_title;
|
||||
const pipelineTitle = title === 'naive' ? 'general' : title;
|
||||
|
||||
Reference in New Issue
Block a user