Skip to content

Commit

Permalink
do not provide initial inc type in escalate modal if one doesn't exis…
Browse files Browse the repository at this point in the history
…t on the case type (#3263)
  • Loading branch information
wssheldon authored Apr 12, 2023
1 parent 326c858 commit 5d3b785
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dispatch/plugins/dispatch_slack/case/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,9 @@ def escalate_button_click(
initial_option={
"text": case.case_type.incident_type.name,
"value": case.case_type.incident_type.id,
},
}
if case.case_type.incident_type
else None,
project_id=case.project.id,
),
incident_priority_select(db_session=db_session, project_id=case.project.id, optional=True),
Expand Down

0 comments on commit 5d3b785

Please sign in to comment.