diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/compare')
3 files changed, 3 insertions, 3 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' }, |