Skip to content

Commit 8233745

Browse files
committed
Allow for empty query in editor
Fixes the annoying behaviour that 'tagged "riemann"' always appeared automagically when clearing the field.
1 parent 520fa34 commit 8233745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class QueryEditor extends PureComponent<Props> {
5252
<div className="gf-form-max-width-25">
5353
<FormField
5454
labelWidth={10}
55-
value={queryText || 'tagged "riemann"'}
55+
value={queryText || ''}
5656
onChange={this.onQueryTextChange}
5757
label="Query Text"
5858
tooltip="Riemann query. See test suite for examples https://github.com/riemann/riemann/blob/master/test/riemann/query_test.clj"

0 commit comments

Comments
 (0)