debian-mirror-gitlab/app/models/work_items/widgets/hierarchy.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
260 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# frozen_string_literal: true
module WorkItems
module Widgets
class Hierarchy < Base
def parent
work_item.work_item_parent
end
def children
2023-04-23 21:23:45 +05:30
work_item.work_item_children_by_relative_position
2022-07-23 23:45:48 +05:30
end
end
end
end