mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
Alerting: Don't show success message after updating AM config (#90934)
This commit is contained in:
parent
733807f963
commit
604c99f137
@ -242,11 +242,11 @@ export const alertmanagerApi = alertingApi.injectEndpoints({
|
||||
void,
|
||||
{ selectedAlertmanager: string; config: AlertManagerCortexConfig }
|
||||
>({
|
||||
query: ({ selectedAlertmanager, config, ...rest }) => ({
|
||||
query: ({ selectedAlertmanager, config }) => ({
|
||||
url: `/api/alertmanager/${getDatasourceAPIUid(selectedAlertmanager)}/config/api/v1/alerts`,
|
||||
method: 'POST',
|
||||
data: config,
|
||||
...rest,
|
||||
showSuccessAlert: false,
|
||||
}),
|
||||
invalidatesTags: ['AlertmanagerConfiguration'],
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user