Skip to content

Commit

Permalink
Use new property when using ClaimBanner
Browse files Browse the repository at this point in the history
Signed-off-by: Mirjam Aulbach <[email protected]>
  • Loading branch information
programmiri committed Oct 4, 2023
1 parent c8bbeff commit f4bd9a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
4 changes: 3 additions & 1 deletion coral/src/app/features/topics/details/TopicDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f4bd9a1

Please sign in to comment.