diff --git a/app/views/workflow_enhancements/_workflow_graph.html.erb b/app/views/workflow_enhancements/_workflow_graph.html.erb index 00c0b35..717dd3e 100644 --- a/app/views/workflow_enhancements/_workflow_graph.html.erb +++ b/app/views/workflow_enhancements/_workflow_graph.html.erb @@ -3,6 +3,7 @@ roles = Array(roles) minimal = false if local_assigns[:minimal].nil? issue ||= nil + project_roles = @project.users_by_role.map{ |x| x[0][:id] } unless @project.nil? %> <% if trackers.length == 1 %> <%= javascript_include_tag "d3.v3.min.js", :plugin => :redmine_workflow_enhancements %> @@ -31,7 +32,7 @@