diff --git a/ui/src/data_explorer/actions/view/index.js b/ui/src/data_explorer/actions/view/index.js
index 4ead10228f..b759e4ec9a 100644
--- a/ui/src/data_explorer/actions/view/index.js
+++ b/ui/src/data_explorer/actions/view/index.js
@@ -129,12 +129,12 @@ export function updateRawQuery(queryID, text) {
}
}
-export function editRawQueryStatus(queryID, rawStatus) {
+export function editQueryStatus(queryID, status) {
return {
- type: 'EDIT_RAW_QUERY_STATUS',
+ type: 'EDIT_QUERY_STATUS',
payload: {
queryID,
- rawStatus,
+ status,
},
}
}
diff --git a/ui/src/data_explorer/components/RawQueryEditor.js b/ui/src/data_explorer/components/RawQueryEditor.js
index 495a5f86fc..636a6f85ad 100644
--- a/ui/src/data_explorer/components/RawQueryEditor.js
+++ b/ui/src/data_explorer/components/RawQueryEditor.js
@@ -50,7 +50,7 @@ const RawQueryEditor = React.createClass({
},
render() {
- const {query: {rawStatus}} = this.props
+ const {config: {status}} = this.props
const {value} = this.state
return (
@@ -66,20 +66,20 @@ const RawQueryEditor = React.createClass({
autoComplete="off"
spellCheck="false"
/>
- {this.renderStatus(rawStatus)}
+ {this.renderStatus(status)}