]> source.dussan.org Git - sonarqube.git/commitdiff
fix "hide number of failing tasks on then project level page"
authorStas Vilchik <vilchiks@gmail.com>
Wed, 9 Dec 2015 16:54:13 +0000 (17:54 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 9 Dec 2015 16:54:13 +0000 (17:54 +0100)
server/sonar-web/src/main/js/apps/background-tasks/stats.js

index 2383f8d76fa1fd9d4ca2ab3fcc25cb38356196ce..d71f1927ef822257162729df30cac2106f7c50e5 100644 (file)
@@ -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;
     }