Grafana-UI: Fix TimeSeries not updating when timeZone is changed (#46728) (#47070)

This commit is contained in:
Grot (@grafanabot)
2022-03-31 09:34:26 +01:00
committed by GitHub
parent 873b254249
commit 3af9f2fa2e
@@ -216,7 +216,7 @@ export class GraphNG extends React.Component<GraphNGProps, GraphNGState> {
const propsChanged = !sameProps(prevProps, this.props, propsToDiff);
if (frames !== prevProps.frames || propsChanged) {
if (frames !== prevProps.frames || propsChanged || timeZone !== prevProps.timeZone) {
let newState = this.prepState(this.props, false);
if (newState) {