diff --git a/ui/src/data_explorer/components/QueryMaker.js b/ui/src/data_explorer/components/QueryMaker.js index 12ee0317e0..5b7fd4d465 100644 --- a/ui/src/data_explorer/components/QueryMaker.js +++ b/ui/src/data_explorer/components/QueryMaker.js @@ -2,19 +2,16 @@ import React, {PropTypes} from 'react' import QueryEditor from './QueryEditor' import SchemaExplorer from 'src/shared/components/SchemaExplorer' -import buildInfluxQLQuery from 'utils/influxql' +import {buildRawText} from 'utils/influxql' const rawTextBinder = (links, id, action) => text => action(links.queries, id, text) -const buildText = (q, timeRange) => - q.rawText || buildInfluxQLQuery(timeRange, q) || '' - const QueryMaker = ({source, actions, timeRange, activeQuery}) =>