diff --git a/lightrag_webui/src/components/graph/Legend.tsx b/lightrag_webui/src/components/graph/Legend.tsx index a8b7a556..a99378f9 100644 --- a/lightrag_webui/src/components/graph/Legend.tsx +++ b/lightrag_webui/src/components/graph/Legend.tsx @@ -43,8 +43,8 @@ const Legend: React.FC = ({ className }) => { style={{ backgroundColor: color }} /> - {PREDEFINED_TYPES.includes(type.toLowerCase()) - ? t(`graphPanel.nodeTypes.${type.toLowerCase()}`) + {PREDEFINED_TYPES.includes(type.toLowerCase()) + ? t(`graphPanel.nodeTypes.${type.toLowerCase()}`) : type}