diff options
Diffstat (limited to 'app/models/work_items/widgets/hierarchy.rb')
-rw-r--r-- | app/models/work_items/widgets/hierarchy.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/work_items/widgets/hierarchy.rb b/app/models/work_items/widgets/hierarchy.rb index 930aced8ace..d0819076efd 100644 --- a/app/models/work_items/widgets/hierarchy.rb +++ b/app/models/work_items/widgets/hierarchy.rb @@ -4,14 +4,10 @@ module WorkItems module Widgets class Hierarchy < Base def parent - return unless work_item.project.work_items_feature_flag_enabled? - work_item.work_item_parent end def children - return WorkItem.none unless work_item.project.work_items_feature_flag_enabled? - work_item.work_item_children end end |