From 25f829ef4854c35fa9652e5a80478eca490ec75d Mon Sep 17 00:00:00 2001 From: yangdx Date: Mon, 27 Oct 2025 12:27:57 +0800 Subject: [PATCH] Enable editing of entity_type field in node properties --- lightrag_webui/src/components/graph/PropertiesView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lightrag_webui/src/components/graph/PropertiesView.tsx b/lightrag_webui/src/components/graph/PropertiesView.tsx index 97411f29..463b49da 100644 --- a/lightrag_webui/src/components/graph/PropertiesView.tsx +++ b/lightrag_webui/src/components/graph/PropertiesView.tsx @@ -225,8 +225,8 @@ const PropertyRow = ({ formattedTooltip += `\n(Truncated: ${truncate})` } - // Use EditablePropertyRow for editable fields (description, entity_id and keywords) - if (isEditable && (name === 'description' || name === 'entity_id' || name === 'keywords')) { + // Use EditablePropertyRow for editable fields (description, entity_id and entity_type) + if (isEditable && (name === 'description' || name === 'entity_id' || name === 'entity_type' || name === 'keywords')) { return ( { nodeId={String(node.id)} entityId={node.properties['entity_id']} entityType="node" - isEditable={name === 'description' || name === 'entity_id'} + isEditable={name === 'description' || name === 'entity_id' || name === 'entity_type'} truncate={node.properties['truncate']} /> )