From 4904c052b4e5f7ed0e061655a6b1a8a3e4f8e2ad Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 9 Dec 2015 17:54:13 +0100 Subject: fix "hide number of failing tasks on then project level page" --- server/sonar-web/src/main/js/apps/background-tasks/stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-web') 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; } -- cgit v1.2.3