Skip to content

Commit

Permalink
UIIN-3196: Fix '"location name" is undefined' error when trying to op…
Browse files Browse the repository at this point in the history
…en instance details on ECS (#2711)
  • Loading branch information
mariia-aloshyna authored Jan 14, 2025
1 parent f648546 commit 5733bfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Change import of `exportToCsv` from `stripes-util` to `stripes-components`. Refs UIIN-3025.
* Display `Shared` facet when user opens "Move holdings/items to another instance" modal. Refs UIIN-3198.
* ECS - Allow 'Move holdings/items to another instance' if instance is shared. Refs UIIN-3188.
* Fix '"location name" is undefined' error when trying to open instance details on ECS. Fixes UIIN-3196.

## [12.0.8](https://github.com/folio-org/ui-inventory/tree/v12.0.8) (2024-12-24)
[Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.7...v12.0.8)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const LimitedHoldingsList = ({
instance={instance}
holding={holding}
tenantId={tenantId}
locationName={locationsById[holding.permanentLocationId].name}
locationName={locationsById[holding.permanentLocationId]?.name}
userTenantPermissions={userTenantPermissions}
pathToAccordionsState={pathToAccordionsState}
/>
Expand Down

0 comments on commit 5733bfb

Please sign in to comment.