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
  • Loading branch information
mariia-aloshyna committed Jan 13, 2025
1 parent 269e121 commit 24388c2
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 @@ -13,6 +13,7 @@
* Fix infinite loading animation after cancel edit/duplicate or 'Save & Close' consortial holdings/items. Fixes UIIN-3167.
* Remove hover-over text next to "Effective call number" on the Item record detail view. Refs UIIN-3131.
* Change import of `exportToCsv` from `stripes-util` to `stripes-components`. Refs UIIN-3025.
* 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 24388c2

Please sign in to comment.