Commit 4f174e09 authored by David O'Regan's avatar David O'Regan Committed by Olena Horal-Koretska

Hide Epic widget for incidents

parent 540e5aa1
- if issuable_sidebar[:supports_epic]
- if issuable_sidebar[:features_available][:epics]
#js-vue-sidebar-item-epics-select{ data: { can_edit: can_admin_issue?.to_s, group_id: @project.group.id, issue_id: @issuable.id, epic_issue_id: @issuable.epic_issue&.id } }
- unless @issuable.labels.map(&:title).include?('incident')
#js-vue-sidebar-item-epics-select{ data: { can_edit: can_admin_issue?.to_s, group_id: @project.group.id, issue_id: @issuable.id, epic_issue_id: @issuable.epic_issue&.id } }
- else
= render 'shared/promotions/promote_epics'
- unless @issuable.labels.map(&:title).include?('incident')
= render 'shared/promotions/promote_epics'
---
title: Hide Epic widget for incidents
merge_request: 37731
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment