From d3530ff0004d44a2c4e9140ff9cc7774b8bc38a4 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 10 Aug 2018 16:02:22 +0200 Subject: update main dependencies & fix autofixable eslint warnings (#601) --- .../sonar-web/src/main/js/apps/about/components/AboutApp.js | 5 ++++- .../src/main/js/apps/about/components/AboutProjects.js | 2 +- .../src/main/js/apps/about/components/AboutScanners.js | 6 +++--- .../src/main/js/apps/about/components/EntryIssueTypes.js | 12 ++++++------ 4 files changed, 14 insertions(+), 11 deletions(-) (limited to 'server/sonar-web/src/main/js/apps/about/components') diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js index 5221f845d5d..c1d319015f1 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js @@ -219,4 +219,7 @@ const mapStateToProps = state => ({ const mapDispatchToProps = { fetchAboutPageSettings }; -export default connect(mapStateToProps, mapDispatchToProps)(AboutApp); +export default connect( + mapStateToProps, + mapDispatchToProps +)(AboutApp); diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutProjects.js b/server/sonar-web/src/main/js/apps/about/components/AboutProjects.js index 2d3a26dd89b..ded5a77736f 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutProjects.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutProjects.js @@ -37,7 +37,7 @@ export default function AboutProjects({ count, loading } /*: Props */) { {!loading && (
- + {formatMeasure(count, 'INT')}
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js b/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js index 9d79e0c4b0f..42ad663a7ad 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutScanners.js @@ -55,11 +55,11 @@ export default function AboutScanners() {

{translate('about_page.scanners.text')}

{scanners.map(scanner => ( - + {translate('about_page.scanners', ))} diff --git a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js index 31e5fb7a3c4..499df6ce3a2 100644 --- a/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js +++ b/server/sonar-web/src/main/js/apps/about/components/EntryIssueTypes.js @@ -48,8 +48,8 @@ export default function EntryIssueTypes( + className="about-page-issue-type-link" + to={getIssuesUrl({ resolved: 'false', types: 'BUG', s: 'CREATION_DATE' })}> {formatMeasure(bugs, 'SHORT_INT')} @@ -63,12 +63,12 @@ export default function EntryIssueTypes( + })}> {formatMeasure(vulnerabilities, 'SHORT_INT')} @@ -82,8 +82,8 @@ export default function EntryIssueTypes( + className="about-page-issue-type-link" + to={getIssuesUrl({ resolved: 'false', types: 'CODE_SMELL', s: 'CREATION_DATE' })}> {formatMeasure(codeSmells, 'SHORT_INT')} -- cgit v1.2.3