Skip to content

Commit

Permalink
revert remove ID and rename to render tooltip properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Nov 4, 2024
1 parent 659012a commit c525c96
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const ConnectionsFormSection: React.FC<Props> = ({
unselectedConnections.length === 0 ? 'no-connections-tooltip' : undefined
}
variant="secondary"
id="no-connections-tooltip-selector"
isAriaDisabled={unselectedConnections.length === 0}
onClick={() => setShowAttachConnectionsModal(true)}
ref={connectionsTooltipRef}
Expand All @@ -150,6 +151,7 @@ export const ConnectionsFormSection: React.FC<Props> = ({
unselectedConnections.length === 0 ? 'no-connection-types-tooltip' : undefined
}
variant="secondary"
id="no-connection-types-tooltip-selector"
content="No connection types available"
isAriaDisabled={enabledConnectionTypes.length === 0}
onClick={() => setManageConnectionModal({ connection: undefined, isEdit: false })}
Expand Down

0 comments on commit c525c96

Please sign in to comment.