Skip to content

Commit

Permalink
fix: Show error message when failing to integrate with Azure DevOps
Browse files Browse the repository at this point in the history
Handling for showing the error message was missing.
  • Loading branch information
Dschoordsch committed Feb 18, 2025
1 parent 28d9fe0 commit e1d0c72
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const AzureDevOpsProviderRow = (props: Props) => {
viewerRef
)
const atmosphere = useAtmosphere()
const {submitting, submitMutation, onError, onCompleted} = useMutationProps()
const {submitting, submitMutation, error, onError, onCompleted} = useMutationProps()
const mutationProps = {submitting, submitMutation, onError, onCompleted} as MenuMutationProps
const {teamMember} = viewer
const {integrations} = teamMember!
Expand All @@ -78,6 +78,7 @@ const AzureDevOpsProviderRow = (props: Props) => {
providerName={Providers.AZUREDEVOPS_NAME}
providerDescription={Providers.AZUREDEVOPS_DESC}
providerLogo={<AzureDevOpsProviderLogo />}
error={error?.message}
/>
{menuPortal(
<AzureDevOpsConfigMenu
Expand Down

0 comments on commit e1d0c72

Please sign in to comment.