Skip to content

Commit

Permalink
UIIN-3188: ECS - Allow 'Move holdings/items to another instance' if i…
Browse files Browse the repository at this point in the history
…nstance is shared (#2710)
  • Loading branch information
OleksandrHladchenko1 authored Jan 14, 2025
1 parent 2c41ae3 commit f648546
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 @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/ViewInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f648546

Please sign in to comment.