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,