diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-04-20 11:10:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 11:10:13 +0200 |
commit | f6e90fdc19e222b3b238f0f5995a8039b7db158e (patch) | |
tree | 69c22415cb50a650b046ce4b9a9ac99e57695dfd /server/sonar-web/src/main/js/apps/quality-gates | |
parent | 36c9fa041018d7eed91f1d22e0c5eda075737ebc (diff) | |
download | sonarqube-f6e90fdc19e222b3b238f0f5995a8039b7db158e.tar.gz sonarqube-f6e90fdc19e222b3b238f0f5995a8039b7db158e.zip |
upgrade prettier (#1954)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-gates/components/DetailsHeader.js | 11 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-gates/routes.js | 9 |
2 files changed, 14 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsHeader.js b/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsHeader.js index 0831488c196..55cf486fbbd 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsHeader.js +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsHeader.js @@ -20,9 +20,14 @@ import React from 'react'; import { translate } from '../../../helpers/l10n'; -export default function DetailsHeader( - { qualityGate, edit, onRename, onCopy, onSetAsDefault, onDelete } -) { +export default function DetailsHeader({ + qualityGate, + edit, + onRename, + onCopy, + onSetAsDefault, + onDelete +}) { function handleRenameClick(e) { e.preventDefault(); onRename(); diff --git a/server/sonar-web/src/main/js/apps/quality-gates/routes.js b/server/sonar-web/src/main/js/apps/quality-gates/routes.js index 7db41853db8..495278f0d0a 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/routes.js +++ b/server/sonar-web/src/main/js/apps/quality-gates/routes.js @@ -21,20 +21,23 @@ const routes = [ { getComponent(_, callback) { require.ensure([], require => - callback(null, require('./containers/QualityGatesAppContainer').default)); + callback(null, require('./containers/QualityGatesAppContainer').default) + ); }, childRoutes: [ { getIndexRoute(_, callback) { require.ensure([], require => - callback(null, { component: require('./components/Intro').default })); + callback(null, { component: require('./components/Intro').default }) + ); } }, { path: 'show/:id', getComponent(_, callback) { require.ensure([], require => - callback(null, require('./containers/DetailsContainer').default)); + callback(null, require('./containers/DetailsContainer').default) + ); } } ] |