lib/messages/loading.erb in lazylead-0.9.1 vs lib/messages/loading.erb in lazylead-0.9.2

- old
+ new

@@ -87,10 +87,10 @@ <td> <div class="auto"> <% if assignment.free? %> <span style="color: red">0</span> <% else %> - <% assignment.sprints.each do |s| %> + <% assignment.sprints(defined?(sprint) ? sprint : "customfield_10480").each do |s| %> <a href="<%= search_link %><%= CGI.escape("#{jql} and assignee=#{teammate}") %>"> <%= s.first.blank? ? "No sprint" : s.first %>: <%= s.last.size %> </a> <br/> <% end %> \ No newline at end of file