Alert: If the permission is forbidden, keep the historical alarm data present. (#19007)
This commit is contained in:
1 parent
bf0d87aaf6
commit
6efadc9d79
1 file changed
+3
-4
@@ -55,12 +55,11 @@ class StateHistory extends PureComponent<Props, State> {
|
||||
panelId: panelId,
|
||||
})
|
||||
.then(() => {
|
||||
this.setState({
|
||||
stateHistoryItems: [],
|
||||
});
|
||||
onRefresh();
|
||||
});
|
||||
|
||||
this.setState({
|
||||
stateHistoryItems: [],
|
||||
});
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user