From ae7adbad39be44273012fc3ff98b6792966cb7cf Mon Sep 17 00:00:00 2001 From: Mariia Aloshyna <55138456+mariia-aloshyna@users.noreply.github.com> Date: Thu, 9 Nov 2023 16:44:30 +0200 Subject: [PATCH] UIIN-2680: Fetch sharing of local instance status in the context of member tenant (#2340) --- CHANGELOG.md | 4 ++++ src/ViewInstance.js | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9655041b5..fd6d2f173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/src/ViewInstance.js b/src/ViewInstance.js index 146344a59..03d57e728 100644 --- a/src/ViewInstance.js +++ b/src/ViewInstance.js @@ -45,7 +45,6 @@ import { indentifierTypeNames, INSTANCE_SHARING_STATUSES, layers, - OKAPI_TENANT_HEADER, REQUEST_OPEN_STATUSES, } from './constants'; import { DataContext } from './contexts'; @@ -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 }), - }, }); }