Snapshots: Fix issue where off-screen panels are not included in snapshots (#82135)

This commit is contained in:
Mitsuhiro Tanda
2024-02-09 11:37:55 -05:00
committed by GitHub
parent 6f62d970e3
commit 9bc3517617
@@ -340,7 +340,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
onRefresh = () => {
const { dashboard, panel, isInView, width } = this.props;
if (!isInView) {
if (!dashboard.snapshot && !isInView) {
panel.refreshWhenInView = true;
return;
}