mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-20 23:32:14 +00:00
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:
parent
a3dcfe8f6c
commit
af575fa7f8
@ -201,7 +201,7 @@
|
|||||||
const smap = new Map(selected.map((it) => [it._id, it]))
|
const smap = new Map(selected.map((it) => [it._id, it]))
|
||||||
newSelection = newSelection.filter((it) => !smap.has(it._id))
|
newSelection = newSelection.filter((it) => !smap.has(it._id))
|
||||||
} else {
|
} else {
|
||||||
for (const s of items) {
|
for (const s of itemsProj) {
|
||||||
if (!selectionIds.has(s._id)) {
|
if (!selectionIds.has(s._id)) {
|
||||||
newSelection.push(s)
|
newSelection.push(s)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user