aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/background-tasks/stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/stats.js')
-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;
}