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

This commit is contained in:
Mitsuhiro Tanda 2024-02-10 01:37:55 +09:00 committed by GitHub
parent 6f62d970e3
commit 9bc3517617
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}