Merge pull request #3297 from influxdata/fixes/infinite-looping-dygraph
Prevent dygraph from continously updatingtable/fix-click-to-sort
commit
1dce1e799d
|
@ -191,7 +191,9 @@ const AutoRefresh = ComposedComponent => {
|
|||
}
|
||||
|
||||
setResolution = resolution => {
|
||||
this.setState({resolution})
|
||||
if (resolution !== this.state.resolution) {
|
||||
this.setState({resolution})
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue