aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-09 17:54:13 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-09 17:54:13 +0100
commit4904c052b4e5f7ed0e061655a6b1a8a3e4f8e2ad (patch)
tree630561b58506cc7fb068a6fb96f7f59b10b2f158 /server/sonar-web
parent51d66fa004ff3dd23af226218b5ba7cdaf5f92a7 (diff)
downloadsonarqube-4904c052b4e5f7ed0e061655a6b1a8a3e4f8e2ad.tar.gz
sonarqube-4904c052b4e5f7ed0e061655a6b1a8a3e4f8e2ad.zip
fix "hide number of failing tasks on then project level page"
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/stats.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/stats.js b/server/sonar-web/src/main/js/apps/background-tasks/stats.js
index 2383f8d76fa..d71f1927ef8 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/stats.js
+++ b/server/sonar-web/src/main/js/apps/background-tasks/stats.js
@@ -62,7 +62,7 @@ export default React.createClass({
return null;
}
- if (this.props.options.component) {
+ if (this.props.options && this.props.options.component) {
return null;
}