Skip to content

Commit

Permalink
Merge branch 'master' into UIBULKED-497
Browse files Browse the repository at this point in the history
  • Loading branch information
UladzislauKutarkin authored Oct 24, 2024
2 parents bc0f928 + b5d3cf4 commit 494dd63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
* [UIBULKED-558](https://folio-org.atlassian.net/browse/UIBULKED-558) Add translation for new "Member" column.
* [UIBULKED-556](https://folio-org.atlassian.net/browse/UIBULKED-556) ECS - remove link to affected record in Optimistic error for holdings and items.
* [UIBULKED-545](https://folio-org.atlassian.net/browse/UIBULKED-545) Clean up permissions.
* [UIBULKED-572](https://folio-org.atlassian.net/browse/UIBULKED-572) Include additional field to 'actions'.
* [UIBULKED-497](https://folio-org.atlassian.net/browse/UIBULKED-497) "Are you sure" preview displays outdated values after User changed selection on bulk edit form and clicked "Confirm changes".

## [4.1.4](https://github.com/folio-org/ui-bulk-edit/tree/v4.1.4) (2024-05-29)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ export const ContentUpdatesForm = ({
.flat()
.filter((tenant, index, array) => array.indexOf(tenant) !== index);

// That tenants array need when we use find and replace action with two different action values
const updatedTenants = filteredTenants[1] || [];
const type = ACTIONS[typeKey];

return {
Expand All @@ -241,6 +243,7 @@ export const ContentUpdatesForm = ({
initial,
updated,
tenants: activeTenants,
updated_tenants: updatedTenants,
parameters: [
...(parameters || []),
...(actionParameters || []),
Expand Down

0 comments on commit 494dd63

Please sign in to comment.