aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/app.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-05 09:54:55 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-06 16:48:25 +0100
commitbb00fc56370280793250bc06638f689295af2f01 (patch)
treedf8cafb77a2032ab7c0063b289e2c9621636e303 /server/sonar-web/src/main/js/apps/overview/app.js
parent266e3139c3ef6112d43d3422489a0654937b1816 (diff)
downloadsonarqube-bb00fc56370280793250bc06638f689295af2f01.tar.gz
sonarqube-bb00fc56370280793250bc06638f689295af2f01.zip
SONAR-6357 add detailed "Size" panel for the "Overview" main page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/app.js')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/app.js b/server/sonar-web/src/main/js/apps/overview/app.js
index 418784e1405..48fae6531f7 100644
--- a/server/sonar-web/src/main/js/apps/overview/app.js
+++ b/server/sonar-web/src/main/js/apps/overview/app.js
@@ -13,6 +13,7 @@ class App {
start (options) {
let opts = _.extend({}, options, window.sonarqube.overview);
_.extend(opts.component, options.component);
+ opts.urlRoot = window.baseUrl + '/overview';
$('html').toggleClass('dashboard-page', opts.component.hasSnapshot);
let el = document.querySelector(opts.el);