Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update app/components/work_package_relations_tab/relations_mediator.rb to use visible_children instead of @ visible_children

Behrokh Satarnejadab56da647999
diff --git a/app/components/work_package_relations_tab/relations_mediator.rb b/app/components/work_package_relations_tab/relations_mediator.rb
index 55feb58dc53..f333793f569 100644
--- a/app/components/work_package_relations_tab/relations_mediator.rb
+++ b/app/components/work_package_relations_tab/relations_mediator.rb
@@ -50,7 +50,7 @@ class WorkPackageRelationsTab::RelationsMediator
end
def ghost_children
- @ghost_children ||= work_package.children.where.not(id: @visible_children.select(:id))
+ @ghost_children ||= work_package.children.where.not(id: visible_children.select(:id))
end
def directionally_aware_grouped_relations