mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-09 08:57:57 +08:00
fix: preserve selected row IDs without filtering by current list (#17994)
This commit is contained in:
@@ -42,7 +42,8 @@ export function useSelectedIds<T extends Array<{ id: string }>>(
|
||||
.map((x) => x.id);
|
||||
} else {
|
||||
// ID-based selection (when getRowId is used)
|
||||
return selectionKeys.filter((id) => list.some((item) => item.id === id));
|
||||
// return selectionKeys.filter((id) => list.some((item) => item.id === id));
|
||||
return selectionKeys;
|
||||
}
|
||||
}, [list, rowSelection]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user