Skip to content

Commit

Permalink
fix(slack): fixing regression in update incident modal
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 committed Dec 20, 2024
1 parent 67842a5 commit c620561
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/dispatch/plugins/dispatch_slack/incident/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2116,6 +2116,14 @@ def handle_update_incident_command(
description_input(initial_value=incident.description),
resolution_input(initial_value=incident.resolution),
incident_status_select(initial_option={"text": incident.status, "value": incident.status}),
incident_type_select(
db_session=db_session,
initial_option={
"text": incident.incident_type.name,
"value": incident.incident_type.id,
},
project_id=incident.project.id,
),
Section(text=f"*Project*: {incident.project.display_name}"),
Context(elements=[MarkdownText(text="Project is read-only")]),
incident_severity_select(
Expand Down

0 comments on commit c620561

Please sign in to comment.