Fix: The GraphRAG icon is not displaying. (#14514)

### What problem does this PR solve?

Fix: The GraphRAG icon is not displaying.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2026-04-30 10:44:05 +08:00
committed by GitHub
parent 0fa2bd539d
commit 7c0584a2b7
2 changed files with 3 additions and 1 deletions

View File

@@ -11,4 +11,5 @@ export enum ProcessingType {
export const ProcessingTypeMap = {
[ProcessingType.knowledgeGraph]: 'Knowledge Graph',
[ProcessingType.raptor]: 'RAPTOR',
GraphRAG: 'Knowledge Graph',
};

View File

@@ -296,7 +296,8 @@ export const getDatasetLogsTableColumns = (
header: t('processingType'),
cell: ({ row }) => (
<div className="flex items-center gap-2 text-text-primary">
{ProcessingType.knowledgeGraph === row.original.task_type && (
{(ProcessingType.knowledgeGraph === row.original.task_type ||
row.original.task_type === 'GraphRAG') && (
<IconFontFill
name={`knowledgegraph`}
className="text-text-secondary"