diff --git a/public/app/features/alerting/StateHistory.tsx b/public/app/features/alerting/StateHistory.tsx index 973bb4f499a..7b2836b5cdc 100644 --- a/public/app/features/alerting/StateHistory.tsx +++ b/public/app/features/alerting/StateHistory.tsx @@ -55,12 +55,11 @@ class StateHistory extends PureComponent { panelId: panelId, }) .then(() => { + this.setState({ + stateHistoryItems: [], + }); onRefresh(); }); - - this.setState({ - stateHistoryItems: [], - }); }, }); };