Alerting: Fix delete cloud rule from detail page (#73850)

This commit is contained in:
Gilles De Mey
2023-08-25 17:39:35 +02:00
committed by GitHub
parent ca46a5c1af
commit 70dc5610c0

View File

@@ -382,6 +382,8 @@ export function deleteRuleAction(
* reload ruler rules * reload ruler rules
*/ */
return async (dispatch, getState) => { return async (dispatch, getState) => {
await dispatch(fetchRulesSourceBuildInfoAction({ rulesSourceName: ruleIdentifier.ruleSourceName }));
withAppEvents( withAppEvents(
(async () => { (async () => {
const rulerConfig = getDataSourceRulerConfig(getState, ruleIdentifier.ruleSourceName); const rulerConfig = getDataSourceRulerConfig(getState, ruleIdentifier.ruleSourceName);