Skip to content

Commit

Permalink
Always use basic autocomplete.
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Nov 14, 2018
1 parent d0fd021 commit 40dc43f
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 40dc43f

Please sign in to comment.