From fc8539891ffaedb3988d4a038c60fd678eccab01 Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko1 Date: Mon, 13 Jan 2025 16:59:05 +0100 Subject: [PATCH] UIIN-3188: ECS - Allow 'Move holdings/items to another instance' if instance is shared --- CHANGELOG.md | 1 + src/ViewInstance.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93600d796..97751bf32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. +* 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 584c37467..0100b008c 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) {