Skip to content
Snippets Groups Projects
Commit bca6958a authored by Kushal Pandya's avatar Kushal Pandya
Browse files

Merge branch 'dc-incident-issuable-id' into 'master'

Adding issuable id as a prop for incidents

See merge request !92404
parents 80f8b47e b24bfb40
No related branches found
No related tags found
1 merge request!92404Adding issuable id as a prop for incidents
Pipeline #589044882 passed
......@@ -63,6 +63,7 @@ export function initIncidentApp(issueData = {}) {
return createElement(IssueApp, {
props: {
...issueData,
issueId: Number(issuableId),
issuableStatus: state,
descriptionComponent: IncidentTabs,
showTitleBorder: false,
......
......@@ -8,6 +8,9 @@ class Projects::IncidentsController < Projects::ApplicationController
before_action :load_incident, only: [:show]
before_action do
push_frontend_feature_flag(:incident_timeline, @project)
push_force_frontend_feature_flag(:work_items, @project&.work_items_feature_flag_enabled?)
push_frontend_feature_flag(:work_items_mvc_2)
push_frontend_feature_flag(:work_items_hierarchy, @project)
end
feature_category :incident_management
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment