aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/project-admin/deletion
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-07-24 16:12:39 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-07-31 11:27:51 +0200
commit30cc3b95809bce6a3e1ca81ee7d661590fb772ac (patch)
tree9d5ecc869ad95e5b81c093943d50fb70f30d1219 /server/sonar-web/src/main/js/apps/project-admin/deletion
parent1cbd06a5264b83da40e6d4a41e31762e5835feb6 (diff)
downloadsonarqube-30cc3b95809bce6a3e1ca81ee7d661590fb772ac.tar.gz
sonarqube-30cc3b95809bce6a3e1ca81ee7d661590fb772ac.zip
SONAR-9531 Change the application space
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/deletion')
-rw-r--r--server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js b/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js
index d236654ed98..8269e2ac6af 100644
--- a/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js
+++ b/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js
@@ -22,9 +22,12 @@ import React from 'react';
import { translate } from '../../../helpers/l10n';
export default function Header(props: { component: { qualifier: string } }) {
- const description = ['VW', 'SVW'].includes(props.component.qualifier)
+ const { qualifier } = props.component;
+ const description = ['VW', 'SVW'].includes(qualifier)
? translate('portfolio_deletion.page.description')
- : translate('project_deletion.page.description');
+ : qualifier === 'APP'
+ ? translate('application_deletion.page.description')
+ : translate('project_deletion.page.description');
return (
<header className="page-header">