From f0951a704956dbf131e7e75c8aa5fb478115314b Mon Sep 17 00:00:00 2001 From: Mikita Siadykh Date: Mon, 2 Dec 2024 11:01:37 +0200 Subject: [PATCH] UIIN-3147 User can edit Source consortium "Holdings sources" in member tenant but not in Consortia manager (#2681) (cherry picked from commit 034df6221aa9f508585ff04a4e042540c4b1ca7a) --- CHANGELOG.md | 1 + src/settings/HoldingsSourcesSettings.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9a1e88c2..beed9c742 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [12.0.5] (IN PROGRESS) * Display informative error message when editing same instance, holdings, item in two tabs. Fixes UIIN-3127. +* User can edit Source consortium "Holdings sources" in member tenant but not in Consortia manager. Refs UIIN-3147. ## [12.0.4](https://github.com/folio-org/ui-inventory/tree/v12.0.4) (2024-12-03) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.3...v12.0.4) diff --git a/src/settings/HoldingsSourcesSettings.js b/src/settings/HoldingsSourcesSettings.js index f8b957aed..0af79eeb2 100644 --- a/src/settings/HoldingsSourcesSettings.js +++ b/src/settings/HoldingsSourcesSettings.js @@ -27,7 +27,7 @@ class HoldingsSourcesSettings extends React.Component { render() { const hasPerm = this.props.stripes.hasPerm('ui-inventory.settings.holdings-sources'); - const suppress = getSourceSuppressor(RECORD_SOURCE.FOLIO); + const suppress = getSourceSuppressor([RECORD_SOURCE.FOLIO, RECORD_SOURCE.CONSORTIUM]); return (