diff options
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r-- | app/helpers/issuables_helper.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index 7f948db2f71..d893ea2a49d 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -231,22 +231,6 @@ module IssuablesHelper end end - def state_name_with_icon(issuable) - if issuable.is_a?(MergeRequest) - if issuable.open? - [_("Open"), "merge-request-open"] - elsif issuable.merged? - [_("Merged"), "merge"] - else - [_("Closed"), "merge-request-close"] - end - elsif issuable.open? - [_("Open"), "issues"] - else - [_("Closed"), "issue-closed"] - end - end - def issuable_type_selector_data(issuable) { selected_type: issuable.issue_type, |