mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AnnoListPanel: Fix 'Within Time Range' option (#32439)
This commit is contained in:
parent
8a1431b472
commit
12ceff407b
@ -209,7 +209,9 @@ export class PanelChrome extends Component<Props, State> {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// The panel should render on refresh as well if it doesn't have a query, like clock panel
|
// The panel should render on refresh as well if it doesn't have a query, like clock panel
|
||||||
this.onRender();
|
this.setState((prevState) => ({
|
||||||
|
data: { ...prevState.data, timeRange: this.timeSrv.timeRange() },
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user