yangdx
commited on
Commit
·
e5e54e3
1
Parent(s):
a36bea5
Fix linting
Browse files
lightrag_webui/src/components/graph/Legend.tsx
CHANGED
@@ -43,8 +43,8 @@ const Legend: React.FC<LegendProps> = ({ className }) => {
|
|
43 |
style={{ backgroundColor: color }}
|
44 |
/>
|
45 |
<span className="text-xs truncate" title={type}>
|
46 |
-
{PREDEFINED_TYPES.includes(type.toLowerCase())
|
47 |
-
? t(`graphPanel.nodeTypes.${type.toLowerCase()}`)
|
48 |
: type}
|
49 |
</span>
|
50 |
</div>
|
|
|
43 |
style={{ backgroundColor: color }}
|
44 |
/>
|
45 |
<span className="text-xs truncate" title={type}>
|
46 |
+
{PREDEFINED_TYPES.includes(type.toLowerCase())
|
47 |
+
? t(`graphPanel.nodeTypes.${type.toLowerCase()}`)
|
48 |
: type}
|
49 |
</span>
|
50 |
</div>
|