From af575fa7f8020b07d3e50b1080ca07b08155ad09 Mon Sep 17 00:00:00 2001 From: Alexander Onnikov Date: Tue, 28 Nov 2023 14:31:13 +0700 Subject: [PATCH] UBERF-4396 List header does not select items in sub categories (#4082) Signed-off-by: Alexander Onnikov --- plugins/view-resources/src/components/list/ListHeader.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/view-resources/src/components/list/ListHeader.svelte b/plugins/view-resources/src/components/list/ListHeader.svelte index 861a2bbb6a..1b654f1e1d 100644 --- a/plugins/view-resources/src/components/list/ListHeader.svelte +++ b/plugins/view-resources/src/components/list/ListHeader.svelte @@ -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) }