aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
index d240996c7c0..242be6bc1f5 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
@@ -440,8 +440,8 @@ module ApplicationHelper
end
index=options[:index]
- if index.nil? && defined?(@dashboard_configuration) && @dashboard_configuration.variation?
- index = @dashboard_configuration.variation_index
+ if index.nil? && defined?(@dashboard_configuration) && @dashboard_configuration.selected_period?
+ index = @dashboard_configuration.period_index
end
m.variation(index)