aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/permission-templates/components
diff options
context:
space:
mode:
authorGuillaume Peoc'h <guillaume.peoch@sonarsource.com>2022-05-24 14:23:09 +0200
committersonartech <sonartech@sonarsource.com>2022-05-24 20:10:14 +0000
commit28852b57ef5d80596d8e98bee00a6e6a0d0c611b (patch)
treed607bb66754f00627bdc6401a0f7f241569014b6 /server/sonar-web/src/main/js/apps/permission-templates/components
parentb66ff887e1ad3a81ef438a3832818e61c03eebd7 (diff)
downloadsonarqube-28852b57ef5d80596d8e98bee00a6e6a0d0c611b.tar.gz
sonarqube-28852b57ef5d80596d8e98bee00a6e6a0d0c611b.zip
SONAR-16426 Remove SonarCloud code (frontend)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permission-templates/components')
-rw-r--r--server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx7
1 files changed, 1 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx b/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx
index fbf33ad3dad..8c80d57dc49 100644
--- a/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx
+++ b/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx
@@ -20,7 +20,6 @@
import * as React from 'react';
import HelpTooltip from '../../../components/controls/HelpTooltip';
import { translate } from '../../../helpers/l10n';
-import { isSonarCloud } from '../../../helpers/system';
interface Props {
permission: {
@@ -41,11 +40,7 @@ export default function PermissionCell({ permission: p }: Props) {
{translate('permission_templates.project_creators')}
<HelpTooltip
className="little-spacer-left"
- overlay={translate(
- isSonarCloud()
- ? 'permission_templates.project_creators.explanation.sonarcloud'
- : 'permission_templates.project_creators.explanation'
- )}
+ overlay={translate('permission_templates.project_creators.explanation')}
/>
</li>
)}