Skip to content

Commit 0739a04

Browse files
committed
Fix bulk delete of resource alert rules and say the history goes too
1 parent 2811252 commit 0739a04

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎ui/public/locales/en.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2337,7 +2337,7 @@
23372337
"label.alerttimestamp": "Alert Time",
23382338
"label.metrictype": "Metric",
23392339
"label.metricvalue": "Value",
2340-
"message.confirm.delete.resource.alert.rule": "Are you sure you want to delete this alert?",
2340+
"message.confirm.delete.resource.alert.rule": "Please confirm that you want to delete this alert rule. Its alert history is deleted too.",
23412341
"label.routingmode": "Routing mode",
23422342
"label.routing.policy": "Routing policy",
23432343
"label.routing.policy.terms": "Routing policy terms",

‎ui/src/config/section/infra/resourceAlertRules.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default {
6868
message: 'message.confirm.delete.resource.alert.rule',
6969
dataView: true,
7070
groupAction: true,
71-
groupMap: (selection) => { return selection.map(x => { return { id: x.id } }) }
71+
groupMap: (selection) => { return selection.map(x => { return { id: x } }) }
7272
}
7373
]
7474
}

0 commit comments

Comments
 (0)