Skip to content

Commit

Permalink
fix(slack): fixing regression in update incident modal (#5640)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Dec 20, 2024
1 parent 6ee9b19 commit b2fc822
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 @@ -2123,6 +2123,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 b2fc822

Please sign in to comment.