Skip to content

Commit

Permalink
Always use basic autocomplete. (#3079)
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr authored Nov 15, 2018
1 parent 8bb96c8 commit bf85dda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/app/components/QueryEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ class QueryEditor extends React.Component {
setOptions={{
behavioursEnabled: true,
enableSnippets: true,
enableBasicAutocompletion: true,
enableLiveAutocompletion: this.state.autocompleteQuery,
autoScrollEditorIntoView: true,
}}
Expand All @@ -201,7 +202,7 @@ class QueryEditor extends React.Component {
<span className="zmdi zmdi-format-indent-increase" />
</button>
</Tooltip>
<Tooltip placement="top" title="Autocomplete">
<Tooltip placement="top" title="Live Autocomplete">
<button type="button" className={'btn btn-default m-r-5' + (this.state.autocompleteQuery ? ' active' : '')} onClick={() => this.setState({ autocompleteQuery: !this.state.autocompleteQuery })} >
<span className="fa fa-magic" />
</button>
Expand Down

0 comments on commit bf85dda

Please sign in to comment.