From 3af9f2fa2e6b22f2863807f8e9b6dbad210c9340 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Thu, 31 Mar 2022 01:34:26 -0700 Subject: [PATCH] Grafana-UI: Fix TimeSeries not updating when timeZone is changed (#46728) (#47070) --- packages/grafana-ui/src/components/GraphNG/GraphNG.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/GraphNG/GraphNG.tsx b/packages/grafana-ui/src/components/GraphNG/GraphNG.tsx index 1581c4abd34..9758bfcb61a 100755 --- a/packages/grafana-ui/src/components/GraphNG/GraphNG.tsx +++ b/packages/grafana-ui/src/components/GraphNG/GraphNG.tsx @@ -216,7 +216,7 @@ export class GraphNG extends React.Component { 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) {