Skip to content

Commit

Permalink
fix(ui): removed buildActiveQuery func to prevent queries from being …
Browse files Browse the repository at this point in the history
…reset when timeranges are selected. (#16404)

fix(ui): removed buildActiveQuery func to prevent queries from being reset when timeranges are selected. Fixed broken test that was being skipped
  • Loading branch information
asalem1 authored and alexpaxton committed Jan 9, 2020
1 parent 5156bb5 commit 0e12013
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
1. [16374](https://github.com/influxdata/influxdb/pull/16374): Update influx CLI, only show "see help" message, instead of the whole usage.
1. [16380](https://github.com/influxdata/influxdb/pull/16380): Fix notification tag matching rules and enable tests to verify
1. [16376](https://github.com/influxdata/influxdb/pull/16376): Extend the y-axis when stacked graph is selected
1. [16404](https://github.com/influxdata/influxdb/pull/16404): Fixed query reset bug that was resetting query in script editor whenever dates were changed

### UI Improvements

Expand Down
2 changes: 0 additions & 2 deletions ui/src/timeMachine/reducers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,6 @@ export const timeMachineReducer = (

draftState.queryBuilder.tags[index].values = values
draftState.queryBuilder.tags[index].valuesStatus = RemoteDataState.Done

buildActiveQuery(draftState)
})
}

Expand Down

0 comments on commit 0e12013

Please sign in to comment.