diff options
author | Guillaume Peoc'h <guillaume.peoch@sonarsource.com> | 2022-05-24 14:23:09 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-05-24 20:10:14 +0000 |
commit | 28852b57ef5d80596d8e98bee00a6e6a0d0c611b (patch) | |
tree | d607bb66754f00627bdc6401a0f7f241569014b6 /server/sonar-web/src/main/js/apps/maintenance | |
parent | b66ff887e1ad3a81ef438a3832818e61c03eebd7 (diff) | |
download | sonarqube-28852b57ef5d80596d8e98bee00a6e6a0d0c611b.tar.gz sonarqube-28852b57ef5d80596d8e98bee00a6e6a0d0c611b.zip |
SONAR-16426 Remove SonarCloud code (frontend)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/maintenance')
-rw-r--r-- | server/sonar-web/src/main/js/apps/maintenance/components/App.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx index ef134d4fd88..7cf60e0d92e 100644 --- a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx @@ -27,7 +27,7 @@ import { Button } from '../../../components/controls/buttons'; import DateFromNow from '../../../components/intl/DateFromNow'; import TimeFormatter from '../../../components/intl/TimeFormatter'; import { translate } from '../../../helpers/l10n'; -import { getBaseUrl, isSonarCloud } from '../../../helpers/system'; +import { getBaseUrl } from '../../../helpers/system'; import { getReturnUrl } from '../../../helpers/urls'; import '../styles.css'; @@ -145,11 +145,9 @@ export default class App extends React.PureComponent<Props, State> { <h1 className="maintenance-title text-danger"> <InstanceMessage message={translate('maintenance.is_offline')} /> </h1> - {!isSonarCloud() && ( - <p className="maintenance-text"> - {translate('maintenance.sonarqube_is_offline.text')} - </p> - )} + <p className="maintenance-text"> + {translate('maintenance.sonarqube_is_offline.text')} + </p> <p className="maintenance-text text-center"> <a href={getBaseUrl() + '/'}>{translate('maintenance.try_again')}</a> </p> |