Skip to content

Commit

Permalink
UITEN-317 Detailed view shows Floating Collection bit (#440)
Browse files Browse the repository at this point in the history
Settings > Tenant > Locations setup > Locations. Display in detailed
view when floating collection is enabled or not enabled.

Fixes UITEN-317.
  • Loading branch information
MikeTaylor authored Jan 20, 2025
1 parent eeba612 commit e7558c2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* [UITEN-316](https://folio-org.atlassian.net/browse/UITEN-316) Fix code to pass ESLint successfully.
* [UITEN-314](https://folio-org.atlassian.net/browse/UITEN-314) Settings > Tenant > Locations setup > Locations. Enable and Display floating collection.
* [UITEN-317](https://folio-org.atlassian.net/browse/UITEN-317) Settings > Tenant > Locations setup > Locations. Display in detailed view when floating collection is enabled or not enabled.

## [9.0.0](https://github.com/folio-org/ui-tenant-settings/tree/v9.0.0)(2024-10-30)

Expand Down
9 changes: 9 additions & 0 deletions src/settings/LocationLocations/LocationDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,15 @@ const LocationDetail = ({
</KeyValue>
</Col>
</Row>
<Row>
<Col xs={12}>
<KeyValue
label={<FormattedMessage id="ui-tenant-settings.settings.location.floating" />}
>
<FormattedMessage id={`ui-tenant-settings.settings.location.floating.${loc.isFloatingCollection ? 'enabled' : 'disabled'}`} />
</KeyValue>
</Col>
</Row>
<Row>
<Col xs={12}>
<KeyValue
Expand Down
2 changes: 2 additions & 0 deletions translations/ui-tenant-settings/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"settings.location.label": "Location setup",
"settings.location.code": "Code",
"settings.location.floating": "Floating collection",
"settings.location.floating.enabled": "Enabled",
"settings.location.floating.disabled": "Disabled",

"settings.location.institutions": "Institutions",
"settings.location.institutions.institution": "Institution",
Expand Down

0 comments on commit e7558c2

Please sign in to comment.