From 141861203a971923679661d64523c9ff9c929219 Mon Sep 17 00:00:00 2001 From: Alisher Musurmonov Date: Sat, 4 May 2024 00:30:35 +0500 Subject: [PATCH] UIPFU-89: Fix select all toggle button issue (#258) * UIPFU-89: add `Cancel` and `New` button to support Routing list feature and fix select all toggle button issue * revert unwanted changes --- CHANGELOG.md | 1 + src/UserSearchView.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5d56d1..e3df4f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ [Full Changelog](https://github.com/folio-org/ui-plugin-find-user/compare/v7.1.0...v7.1.1) * Fix Select User Modal with User Assignment Status Filters pagination issue. Refs UIPFU-87. +* Fix select all toggle button issue. Refs UIPFU-89. ## [7.1.0](https://github.com/folio-org/ui-plugin-find-user/tree/v7.1.0) (2024-03-20) [Full Changelog](https://github.com/folio-org/ui-plugin-find-user/compare/v7.0.0...v7.1.0) diff --git a/src/UserSearchView.js b/src/UserSearchView.js index ae88afa..ce37798 100644 --- a/src/UserSearchView.js +++ b/src/UserSearchView.js @@ -146,7 +146,7 @@ class UserSearchView extends React.Component { this.setState((state, props) => { const isAllChecked = !state.isAllChecked; const { data: { users } } = props; - const checkedMap = reduceUsersToMap(users, isAllChecked); + const checkedMap = reduceUsersToMap(users.records, isAllChecked); return { checkedMap,