Skip to content

Commit b2fc822

Browse files
authored
fix(slack): fixing regression in update incident modal (#5640)
1 parent 6ee9b19 commit b2fc822

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: src/dispatch/plugins/dispatch_slack/incident/interactive.py

+8
Original file line numberDiff line numberDiff line change
@@ -2123,6 +2123,14 @@ def handle_update_incident_command(
21232123
description_input(initial_value=incident.description),
21242124
resolution_input(initial_value=incident.resolution),
21252125
incident_status_select(initial_option={"text": incident.status, "value": incident.status}),
2126+
incident_type_select(
2127+
db_session=db_session,
2128+
initial_option={
2129+
"text": incident.incident_type.name,
2130+
"value": incident.incident_type.id,
2131+
},
2132+
project_id=incident.project.id,
2133+
),
21262134
Section(text=f"*Project*: {incident.project.display_name}"),
21272135
Context(elements=[MarkdownText(text="Project is read-only")]),
21282136
incident_severity_select(

0 commit comments

Comments
 (0)