File tree Expand file tree Collapse file tree
lightrag_webui/src/features Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1242,13 +1242,13 @@ export default function SanitizeData() {
12421242 </ button >
12431243 < button
12441244 className = "px-3.5 py-1.5 bg-blue-600 text-white rounded hover:bg-blue-700 text-sm disabled:opacity-50"
1245- disabled = { selectedEntities . length < 1 || filterMode !== 'selected' }
1246- onClick = { handleMergeEntities } // ← Add this
1245+ disabled = { selectedEntities . length < 2 || filterMode !== 'selected' }
1246+ onClick = { handleMergeEntities }
12471247 title = {
12481248 filterMode !== 'selected'
12491249 ? "Enter 'Show Sel. Only' mode first\nto act on selected entities"
1250- : selectedEntities . length < 1
1251- ? "Select at least one entity first\n(check the boxes on the left)"
1250+ : selectedEntities . length < 2
1251+ ? "Select at least two entities first\n(check the boxes on the left)"
12521252 : undefined
12531253 }
12541254 >
You can’t perform that action at this time.
0 commit comments