aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx
diff options
context:
space:
mode:
authorViktor Vorona <viktor.vorona@sonarsource.com>2024-04-22 14:35:10 +0200
committerMatteo Mara <matteo.mara@sonarsource.com>2024-04-30 10:59:03 +0200
commitb1926c0127b9765afd449c90f415027a4341caad (patch)
treed1c530593bd069b39405c256a159af1634e5cd42 /server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx
parentd6bcc16d72c2084dac48582bc9a6f4fd7c6ab042 (diff)
downloadsonarqube-b1926c0127b9765afd449c90f415027a4341caad.tar.gz
sonarqube-b1926c0127b9765afd449c90f415027a4341caad.zip
SONAR-22049 Align HelpTooltip And DocHelpTooltip (DocumentationTooltip)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx9
1 files changed, 3 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx
index ae76b6635f0..736d86f8b60 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.tsx
@@ -19,8 +19,8 @@
*/
import { FlagMessage, HelperHintIcon, SubTitle } from 'design-system';
import * as React from 'react';
-import DocumentationTooltip from '../../../components/common/DocumentationTooltip';
import { translate } from '../../../helpers/l10n';
+import DocHelpTooltip from '../../../sonar-aligned/components/controls/DocHelpTooltip';
import { QualityGate } from '../../../types/types';
import Conditions from './Conditions';
import Projects from './Projects';
@@ -50,12 +50,9 @@ export function DetailsContent(props: DetailsContentProps) {
<div className="sw-flex sw-flex-col">
<SubTitle as="h3" className="sw-body-md-highlight">
{translate('quality_gates.projects')}
- <DocumentationTooltip
- className="sw-ml-2"
- content={translate('quality_gates.projects.help')}
- >
+ <DocHelpTooltip className="sw-ml-2" content={translate('quality_gates.projects.help')}>
<HelperHintIcon />
- </DocumentationTooltip>
+ </DocHelpTooltip>
</SubTitle>
{qualityGate.isDefault ? (