aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-08-24 16:50:13 +0200
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-09-12 11:34:51 +0200
commit28012dbeab2d6fc67b136c8c1f2e5c0fd88d3025 (patch)
tree44ca5f49888d46f94a47ddc664d1fe7406e4f2ae /server/sonar-web/src/main/js/apps/component-measures/components/AppContainer.js
parent84fb7ffe3889723aa29df14ebaf874f577aa2842 (diff)
downloadsonarqube-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.js2
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 });