From 8608e2860968753772febbec6a933715eccb82c7 Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Thu, 16 Aug 2018 17:22:12 -0400 Subject: [PATCH 1/2] fix: pass correct fields to /queries to fix de submit query button --- ui/src/data_explorer/actions/view/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/data_explorer/actions/view/index.ts b/ui/src/data_explorer/actions/view/index.ts index e4f140b4d..82bfecae4 100644 --- a/ui/src/data_explorer/actions/view/index.ts +++ b/ui/src/data_explorer/actions/view/index.ts @@ -395,9 +395,8 @@ export const editRawTextAsync = ( try { const queries = await getQueryConfigAndStatus(url, [ { - text, id, - queryConfig: {tags: {}, areTagsAccepted: true}, + query: text, }, ]) const config = queries.find(q => q.id === id) From 22c811947e8426c0f1ef81301bc4063bae91acb6 Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Thu, 16 Aug 2018 17:25:41 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3449f83e..2076d2498 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ ### Bug Fixes 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. [#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]