Skip to content

Commit

Permalink
UIIN-2680: Fetch sharing of local instance status in the context of m…
Browse files Browse the repository at this point in the history
…ember tenant (#2340)

(cherry picked from commit ae7adba)
  • Loading branch information
mariia-aloshyna committed Nov 10, 2023
1 parent ee16a85 commit 2ac5691
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change history for ui-inventory

## [10.0.4] IN PROGRESS

* Fetch sharing of local instance status in the context of member tenant. Refs UIIN-2680.

## [10.0.3](https://github.com/folio-org/ui-inventory/tree/v10.0.3) (2023-11-08)
[Full Changelog](https://github.com/folio-org/ui-inventory/compare/v10.0.2...v10.0.3)

Expand Down
6 changes: 0 additions & 6 deletions src/ViewInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import {
indentifierTypeNames,
INSTANCE_SHARING_STATUSES,
layers,
OKAPI_TENANT_HEADER,
REQUEST_OPEN_STATUSES,
} from './constants';
import { DataContext } from './contexts';
Expand Down Expand Up @@ -447,11 +446,6 @@ class ViewInstance extends React.Component {
checkInstanceSharingProgress = ({ sourceTenantId, instanceIdentifier }) => {
return this.props.mutator.shareInstance.GET({
params: { sourceTenantId, instanceIdentifier },
headers: {
[OKAPI_TENANT_HEADER]: this.props.centralTenantId,
'Content-Type': 'application/json',
...(this.props.okapi.token && { 'X-Okapi-Token': this.props.okapi.token }),
},
});
}

Expand Down

0 comments on commit 2ac5691

Please sign in to comment.