diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-08 15:13:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-08 15:13:55 +0300 |
commit | 571b02efc9442e73538c3438eb593a83d7807779 (patch) | |
tree | 96c4ecbdaa066fac502111a3192cc396d6f4a79a /app/graphql/types | |
parent | efe3186770a4218333e1a720f1e4d3794892673e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/types')
-rw-r--r-- | app/graphql/types/issue_type.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/graphql/types/issue_type.rb b/app/graphql/types/issue_type.rb index 1e5833a5cf0..488e4d10cbc 100644 --- a/app/graphql/types/issue_type.rb +++ b/app/graphql/types/issue_type.rb @@ -122,6 +122,7 @@ module Types description: 'Collection of design images associated with this issue.' field :type, Types::IssueTypeEnum, null: true, + method: :issue_type, description: 'Type of the issue.' field :alert_management_alert, @@ -209,14 +210,6 @@ module Types def escalation_status object.supports_escalation? ? object.escalation_status&.status_name : nil end - - def type - if Feature.enabled?(:issue_type_uses_work_item_types_table) - object.work_item_type.base_type - else - object.issue_type - end - end end end |