mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Snapshots: Fix issue where off-screen panels are not included in snapshots (#82135)
This commit is contained in:
parent
6f62d970e3
commit
9bc3517617
@ -340,7 +340,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
|
|||||||
onRefresh = () => {
|
onRefresh = () => {
|
||||||
const { dashboard, panel, isInView, width } = this.props;
|
const { dashboard, panel, isInView, width } = this.props;
|
||||||
|
|
||||||
if (!isInView) {
|
if (!dashboard.snapshot && !isInView) {
|
||||||
panel.refreshWhenInView = true;
|
panel.refreshWhenInView = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user