From f6485469f00604ef1eefa7b082c688a08e121840 Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko <85172747+OleksandrHladchenko1@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:06:15 +0100 Subject: [PATCH] UIIN-3188: ECS - Allow 'Move holdings/items to another instance' if instance is shared (#2710) --- CHANGELOG.md | 1 + src/ViewInstance.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27dea8e49..bcad3b699 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ * 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. * 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. ## [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) diff --git a/src/ViewInstance.js b/src/ViewInstance.js index 4bbd5703c..fba152477 100644 --- a/src/ViewInstance.js +++ b/src/ViewInstance.js @@ -840,7 +840,7 @@ class ViewInstance extends React.Component { ); const showQuickMarcMenuSection = isSourceMARC && (canCreateMARCHoldings || canEditMARCRecord || canDeriveMARCRecord); - const canMoveHoldingsItemsToAnotherInstance = (canMoveItems || canMoveHoldings) && !isShared; + const canMoveHoldingsItemsToAnotherInstance = canMoveItems || canMoveHoldings; // the `identifier` is responsible for displaying the plugin `copyright-permissions-checker` if (!showInventoryMenuSection && !showQuickMarcMenuSection && !identifier) {