[druid] fixing the having clause in the explore view (#2648)

* [druid] fixing the having clause in the explore view

* Backend

* Lint

* Fixing tests
This commit is contained in:
Maxime Beauchemin
2017-04-24 16:31:16 -07:00
committed by GitHub
parent f10ee13901
commit 29780821e8
5 changed files with 37 additions and 20 deletions

View File

@@ -46,11 +46,12 @@ export default class DisplayQueryButton extends React.PureComponent {
language: data.language,
query: data.query,
isLoading: false,
error: null,
});
},
error: (data) => {
this.setState({
error: data.error,
error: data.responseJSON ? data.responseJSON.error : 'Error...',
isLoading: false,
});
},