Merge pull request #4235 from influxdata/fix/de_submit_query

fix: pass correct fields to /queries to fix de submit query button
pull/4241/head
Jared Scheib 2018-08-16 19:49:47 -04:00 committed by GitHub
commit 8ae7b8fb43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,7 @@
### Bug Fixes ### Bug Fixes
1. [#4231](https://github.com/influxdata/chronograf/pull/4231): Fix notifying user to press ESC to exit presentation mode 1. [#4231](https://github.com/influxdata/chronograf/pull/4231): Fix notifying user to press ESC to exit presentation mode
1. [#4234](https://github.com/influxdata/chronograf/pull/4234): Fix persisting whether or not template variable control bar is open 1. [#4234](https://github.com/influxdata/chronograf/pull/4234): Fix persisting whether or not template variable control bar is open
1. [#4235](https://github.com/influxdata/chronograf/pull/4235): Fix Submit Query button in Data Explorer to correctly return results
## v1.6.1 [2018-08-02] ## v1.6.1 [2018-08-02]

View File

@ -395,9 +395,8 @@ export const editRawTextAsync = (
try { try {
const queries = await getQueryConfigAndStatus(url, [ const queries = await getQueryConfigAndStatus(url, [
{ {
text,
id, id,
queryConfig: {tags: {}, areTagsAccepted: true}, query: text,
}, },
]) ])
const config = queries.find(q => q.id === id) const config = queries.find(q => q.id === id)