]> source.dussan.org Git - sonarqube.git/commitdiff
Fix action plan widget
authorStas Vilchik <vilchiks@gmail.com>
Mon, 24 Nov 2014 14:58:49 +0000 (15:58 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 24 Nov 2014 14:58:49 +0000 (15:58 +0100)
server/sonar-web/src/main/webapp/WEB-INF/app/views/action_plans/_progress.html.erb

index 1df18ad0fdc95b466e006002eb549275541cf0f2..1db29a0039656f65c84b565e9170641f1dfbb407 100644 (file)
@@ -3,10 +3,10 @@
      project = @project
      project = @resource if project.nil?
      options = {:actionPlans => action_plan.key}
-     if @project.qualifier == 'TRK'
-       options['projectUuids'] = @project.uuid
+     if project.qualifier == 'TRK'
+       options['projectUuids'] = project.uuid
      else
-       options['componentRootUuids'] = @project.uuid
+       options['componentRootUuids'] = project.uuid
      end
 
      resolved_issues_link = action_plan.resolvedIssues().to_s