From 3a295bcbad373da57963b9dbc49bb295d70ffa50 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sat, 10 May 2025 10:00:18 +0300 Subject: [PATCH] fix select record tree item --- client/src/views/modals/select-category-tree-records.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/views/modals/select-category-tree-records.js b/client/src/views/modals/select-category-tree-records.js index 609a3e37d7..d4c773d20b 100644 --- a/client/src/views/modals/select-category-tree-records.js +++ b/client/src/views/modals/select-category-tree-records.js @@ -145,11 +145,11 @@ class SelectCategoryTreeRecordsModalView extends SelectRecordsModalView { checkAllResultDisabled: true, buttonsDisabled: true, }, listView => { - listView.once('select', model => { - this.trigger('select', model); + listView.once('select', models => { + this.trigger('select', models); if (this.options.onSelect) { - this.options.onSelect([model]); + this.options.onSelect(models); } this.close();