aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2018-06-08 08:39:30 +0200
committerSonarTech <sonartech@sonarsource.com>2018-06-12 20:20:57 +0200
commitf3425772870c017497d30bcc5115b8b3d62f9fb2 (patch)
treed008376efd3fca039cca6a0e4feb5afaf5459397 /server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx
parent618039ace997ff9fda4735988edd19233159ac9b (diff)
downloadsonarqube-f3425772870c017497d30bcc5115b8b3d62f9fb2.tar.gz
sonarqube-f3425772870c017497d30bcc5115b8b3d62f9fb2.zip
SONAR-10287 Use browser tooltips for descriptive hints
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx11
1 files changed, 4 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx
index 3a4c6d80fe1..c3afacc324a 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx
+++ b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskComponent.tsx
@@ -32,7 +32,6 @@ import {
import ShortLivingBranchIcon from '../../../components/icons-components/ShortLivingBranchIcon';
import LongLivingBranchIcon from '../../../components/icons-components/LongLivingBranchIcon';
import PullRequestIcon from '../../../components/icons-components/PullRequestIcon';
-import Tooltip from '../../../components/controls/Tooltip';
interface Props {
task: Task;
@@ -76,12 +75,10 @@ export default function TaskComponent({ task }: Props) {
)}
{task.pullRequest && (
- <Tooltip overlay={task.pullRequestTitle}>
- <span className="text-limited text-text-top">
- <span style={{ marginLeft: 5, marginRight: 5 }}>/</span>
- {task.pullRequest}
- </span>
- </Tooltip>
+ <span className="text-limited text-text-top" title={task.pullRequestTitle}>
+ <span style={{ marginLeft: 5, marginRight: 5 }}>/</span>
+ {task.pullRequest}
+ </span>
)}
</Link>
)}