mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -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 = () => {
|
||||
const { dashboard, panel, isInView, width } = this.props;
|
||||
|
||||
if (!isInView) {
|
||||
if (!dashboard.snapshot && !isInView) {
|
||||
panel.refreshWhenInView = true;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user