UBERF-4396 List header does not select items in sub categories (#4082)

Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2023-11-28 14:31:13 +07:00 committed by GitHub
parent a3dcfe8f6c
commit af575fa7f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@
const smap = new Map(selected.map((it) => [it._id, it]))
newSelection = newSelection.filter((it) => !smap.has(it._id))
} else {
for (const s of items) {
for (const s of itemsProj) {
if (!selectionIds.has(s._id)) {
newSelection.push(s)
}