mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-18 17:42:00 +00:00
Optimize gantt chart rendering for issues without subtasks (#40000).
Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22589 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fe9fd97f6d
commit
70bd44395d
@ -765,7 +765,7 @@ module Redmine
|
||||
tag_options[:id] = "issue-#{object.id}"
|
||||
tag_options[:class] = "issue-subject hascontextmenu"
|
||||
tag_options[:title] = object.subject
|
||||
children = object.children & project_issues(object.project)
|
||||
children = object.leaf? ? [] : object.children & project_issues(object.project)
|
||||
has_children =
|
||||
children.present? &&
|
||||
(children.collect(&:fixed_version).uniq & [object.fixed_version]).present?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user