From c76ad5f42bae4369717e2404854a90911c6d3ace Mon Sep 17 00:00:00 2001 From: ashklianko Date: Mon, 16 Sep 2024 07:53:36 +0200 Subject: [PATCH] Misc changes for the new tree- and -list api #3696 --- .../common/js/ui/selector/list/SelectableListBoxWrapper.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/resources/assets/admin/common/js/ui/selector/list/SelectableListBoxWrapper.ts b/src/main/resources/assets/admin/common/js/ui/selector/list/SelectableListBoxWrapper.ts index f8337b37c..a3083ee86 100644 --- a/src/main/resources/assets/admin/common/js/ui/selector/list/SelectableListBoxWrapper.ts +++ b/src/main/resources/assets/admin/common/js/ui/selector/list/SelectableListBoxWrapper.ts @@ -174,12 +174,6 @@ export class SelectableListBoxWrapper } protected handleItemsRemoved(items: I[]): void { - const selectedItems = items.filter((item: I) => this.isItemSelected(item)); - - if (selectedItems.length > 0) { - this.deselect(selectedItems); - } - items.forEach((item: I) => this.handleItemRemoved(item)); }