diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-08-24 16:50:13 +0200 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2017-09-12 11:34:51 +0200 |
commit | 28012dbeab2d6fc67b136c8c1f2e5c0fd88d3025 (patch) | |
tree | 44ca5f49888d46f94a47ddc664d1fe7406e4f2ae /server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js | |
parent | 84fb7ffe3889723aa29df14ebaf874f577aa2842 (diff) | |
download | sonarqube-28012dbeab2d6fc67b136c8c1f2e5c0fd88d3025.tar.gz sonarqube-28012dbeab2d6fc67b136c8c1f2e5c0fd88d3025.zip |
Different branches UI fixes (#2418)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js b/server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js index 896d6870e23..c5a6a79434b 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js +++ b/server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js @@ -50,7 +50,7 @@ function banQualityGate(component /*: Component */) /*: Array<Measure> */ { const fetchMeasures = ( component /*: string */, metricsKey /*: Array<string> */, - branch /*: string | null */ + branch /*: string | void */ ) => (dispatch, getState) => { if (metricsKey.length <= 0) { return Promise.resolve({ component: {}, measures: [], leakPeriod: null }); |