Fix slack declare incident label (#4007)
# What this PR does Make label consistent with casing in web ui ## Which issue(s) this PR fixes #2831 ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required)
This commit is contained in:
parent
d938b52d80
commit
a466e79bc5
1 changed files with 2 additions and 2 deletions
|
|
@ -299,11 +299,11 @@ class AlertGroupSlackRenderer(AlertGroupBaseRenderer):
|
|||
resolution_notes_button["text"]["text"] = "Add Resolution notes"
|
||||
buttons.append(resolution_notes_button)
|
||||
|
||||
# Declare Incident button
|
||||
# Declare incident button
|
||||
if self.alert_group.channel.organization.is_grafana_incident_enabled:
|
||||
incident_button = {
|
||||
"type": "button",
|
||||
"text": {"type": "plain_text", "text": ":fire: Declare Incident", "emoji": True},
|
||||
"text": {"type": "plain_text", "text": ":fire: Declare incident", "emoji": True},
|
||||
"value": "declare_incident",
|
||||
"url": self.alert_group.declare_incident_link,
|
||||
"action_id": ScenarioStep.get_step("declare_incident", "DeclareIncidentStep").routing_uid(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue