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)
  • Loading branch information
mariia-aloshyna authored Nov 9, 2023
1 parent def4aad commit ae7adba
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
Expand Up @@ -9,6 +9,10 @@
* Show Instance record after creating with Fast add option. Refs UIIN-2497.
* Search box/Browse box- Reset all should shift focus back to search box. Refs UIIN-2514.

## [10.0.4] IN PROGRESS

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

## [10.0.3] IN PROGRESS

* ECS: Show info message when user in member tenant tries to view shared instance details without permission. Refs UIIN-2590.
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 ae7adba

Please sign in to comment.