Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1948 | fixing basic tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Nov 12, 2024
1 parent a32032a commit 12f185d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mappings/FromAndTargetSource.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Repo = ({mapping, direction, sx}) => {
const repo = URIToParentParams(repoURL)
const isPresent = Boolean(repoName)
return (
<RepoTooltip basicTooltip={!isPresent} repo={{...repo, url: repoURL, id: repo?.repo || repoURL}}>
<RepoTooltip basicTooltip={isPresent ? undefined : repo?.repo || repoURL} repo={{...repo, url: repoURL, id: repo?.repo || repoURL}}>
<span style={{maxWidth: '175px', textAlign: 'left', ...sx}}>
<div style={{display: 'flex', alignItems: 'center', justifyContent: 'left'}}>
<SourceIcon selected={isPresent} />
Expand Down

0 comments on commit 12f185d

Please sign in to comment.