Skip to content

Commit 579c70a

Browse files
authored
fix(alert): Correct url (#76236)
URL was incorrectly changed in #76204
1 parent cfa8b6b commit 579c70a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/alerts/list/rules/alertRulesList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function AlertRulesList() {
141141
const handleDeleteRule = async (projectId: string, rule: CombinedAlerts) => {
142142
const deleteEndpoints = {
143143
[CombinedAlertType.ISSUE]: `/projects/${organization.slug}/${projectId}/rules/${rule.id}/`,
144-
[CombinedAlertType.METRIC]: `/projects/${organization.slug}/${projectId}/rules/${rule.id}/`,
144+
[CombinedAlertType.METRIC]: `/organizations/${organization.slug}/alert-rules/${rule.id}/`,
145145
[CombinedAlertType.UPTIME]: `/projects/${organization.slug}/${projectId}/uptime/${rule.id}/`,
146146
};
147147

0 commit comments

Comments
 (0)