diff options
author | Viktor Vorona <viktor.vorona@sonarsource.com> | 2024-09-19 14:48:00 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-09-19 20:03:00 +0000 |
commit | d1f19d8e1bce83563cd0ff087bcc18cc591994dc (patch) | |
tree | 552bd01d65438e910e6e090a164b8f177df4eda7 /server/sonar-web/src/main/js/components/shared/AnalysisMissingInfoMessage.tsx | |
parent | a90049828d6c0dbb8d7b07af6b20d7a8e836a7d8 (diff) | |
download | sonarqube-d1f19d8e1bce83563cd0ff087bcc18cc591994dc.tar.gz sonarqube-d1f19d8e1bce83563cd0ff087bcc18cc591994dc.zip |
MMF-3988 Hide ratings and remove legacy mode setting
Diffstat (limited to 'server/sonar-web/src/main/js/components/shared/AnalysisMissingInfoMessage.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/shared/AnalysisMissingInfoMessage.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/components/shared/AnalysisMissingInfoMessage.tsx b/server/sonar-web/src/main/js/components/shared/AnalysisMissingInfoMessage.tsx index b0bb17d6cbf..a3a39f3620c 100644 --- a/server/sonar-web/src/main/js/components/shared/AnalysisMissingInfoMessage.tsx +++ b/server/sonar-web/src/main/js/components/shared/AnalysisMissingInfoMessage.tsx @@ -22,7 +22,6 @@ import { FlagMessage } from 'design-system'; import * as React from 'react'; import { FormattedMessage, useIntl } from 'react-intl'; import { DocLink } from '../../helpers/doc-links'; -import { useIsLegacyCCTMode } from '../../queries/settings'; import DocumentationLink from '../common/DocumentationLink'; interface AnalysisMissingInfoMessageProps { @@ -36,10 +35,10 @@ export default function AnalysisMissingInfoMessage({ qualifier, className, }: Readonly<AnalysisMissingInfoMessageProps>) { - const { data: isLegacy, isLoading } = useIsLegacyCCTMode(); const intl = useIntl(); + // const { data: isLegacy, isLoading } = useIsLegacyCCTMode(); - if (hide || isLoading || isLegacy) { + if (hide) { return null; } |