From f4bd9a19f9dd52dd4f9318e48cca38ba1921efd2 Mon Sep 17 00:00:00 2001 From: Mirjam Aulbach Date: Wed, 27 Sep 2023 10:12:13 +0200 Subject: [PATCH] Use new property when using ClaimBanner Signed-off-by: Mirjam Aulbach --- .../src/app/features/connectors/details/ConnectorDetails.tsx | 4 +++- coral/src/app/features/topics/details/TopicDetails.tsx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/coral/src/app/features/connectors/details/ConnectorDetails.tsx b/coral/src/app/features/connectors/details/ConnectorDetails.tsx index 7fc3abfcff..69ccdaadba 100644 --- a/coral/src/app/features/connectors/details/ConnectorDetails.tsx +++ b/coral/src/app/features/connectors/details/ConnectorDetails.tsx @@ -187,7 +187,9 @@ function ConnectorDetails(props: ConnectorOverviewProps) { connectorData?.connectorInfo.hasOpenClaimRequest } entityOwner={connectorData.connectorInfo.teamName} - hasOpenRequest={connectorData?.connectorInfo.hasOpenRequest} + hasOpenRequestOnAnyEnv={ + connectorData?.connectorInfo.hasOpenRequestOnAnyEnv + } claimEntity={() => setShowClaimModal(true)} isError={isErrorCreateClaimConnectorRequest} errorMessage={claimErrorMessage} diff --git a/coral/src/app/features/topics/details/TopicDetails.tsx b/coral/src/app/features/topics/details/TopicDetails.tsx index b1a4688236..3b23011386 100644 --- a/coral/src/app/features/topics/details/TopicDetails.tsx +++ b/coral/src/app/features/topics/details/TopicDetails.tsx @@ -178,7 +178,9 @@ function TopicDetails(props: TopicOverviewProps) { entityName={topicName} hasOpenClaimRequest={topicData?.topicInfo.hasOpenClaimRequest} entityOwner={topicData.topicInfo.teamname} - hasOpenRequest={topicData?.topicInfo.hasOpenRequest} + hasOpenRequestOnAnyEnv={ + topicData?.topicInfo.hasOpenRequestOnAnyEnv + } claimEntity={() => setShowClaimModal(true)} isError={createClaimTopicRequestIsError} errorMessage={claimErrorMessage}