diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles')
5 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonForm.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonForm.tsx index 58a9815dbbc..0446064fca5 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonForm.tsx @@ -81,7 +81,7 @@ function OptionRenderer(props: Readonly<OptionProps<Option, false>>) { <components.Option {...props}> <span>{label}</span> {isDefault && ( - <Tooltip overlay={intl.formatMessage({ id: 'quality_profiles.list.default.help' })}> + <Tooltip content={intl.formatMessage({ id: 'quality_profiles.list.default.help' })}> <span> <Badge className="sw-ml-1">{intl.formatMessage({ id: 'default' })}</Badge> </span> diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultActivation.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultActivation.tsx index 7727b0f947d..7df42fa7ea5 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultActivation.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultActivation.tsx @@ -60,7 +60,7 @@ export default function ComparisonResultActivation(props: React.PropsWithChildre return ( <Spinner loading={state === 'opening'}> - <Tooltip placement="bottom" overlay={activateRuleMsg}> + <Tooltip side="bottom" content={activateRuleMsg}> <ButtonSecondary disabled={state !== 'closed'} aria-label={activateRuleMsg} diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultDeactivation.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultDeactivation.tsx index 6112b9d5bcb..59a91f7d513 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultDeactivation.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/compare/ComparisonResultDeactivation.tsx @@ -53,7 +53,7 @@ export default function ComparisonResultDeactivation(props: React.PropsWithChild > {({ onClick }) => ( <Tooltip - overlay={ + content={ canDeactivateInheritedRules ? intl.formatMessage( { id: 'quality_profiles.comparison.deactivate_rule' }, diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx index 2e28d6b95e8..941c3fa44e3 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx @@ -35,7 +35,7 @@ export default function BuiltInQualityProfileBadge({ className, tooltip = true } ); if (tooltip) { - return <Tooltip overlay={translate('quality_profiles.built_in.description')}>{badge}</Tooltip>; + return <Tooltip content={translate('quality_profiles.built_in.description')}>{badge}</Tooltip>; } return badge; diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListRow.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListRow.tsx index a4d14dadec6..a35dcd8b9fa 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListRow.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListRow.tsx @@ -66,7 +66,7 @@ export function ProfilesListRow(props: Readonly<ProfilesListRowProps>) { <ContentCell> {profile.isDefault ? ( - <Tooltip overlay={intl.formatMessage({ id: 'quality_profiles.list.default.help' })}> + <Tooltip content={intl.formatMessage({ id: 'quality_profiles.list.default.help' })}> <Badge>{intl.formatMessage({ id: 'default' })}</Badge> </Tooltip> ) : ( @@ -80,7 +80,7 @@ export function ProfilesListRow(props: Readonly<ProfilesListRowProps>) { {profile.activeDeprecatedRuleCount > 0 && ( <span className="sw-ml-2"> - <Tooltip overlay={intl.formatMessage({ id: 'quality_profiles.deprecated_rules' })}> + <Tooltip content={intl.formatMessage({ id: 'quality_profiles.deprecated_rules' })}> <BaseLink to={deprecatedRulesUrl} className="sw-border-0"> <Badge variant="deleted">{profile.activeDeprecatedRuleCount}</Badge> </BaseLink> |