Show "Range Filter" by default (#4604)

* Show Range Filter by default

* Auto show brush

* Backwards compat

* Small fix
This commit is contained in:
Beto Dealmeida
2018-03-14 16:38:47 -07:00
committed by Maxime Beauchemin
parent 3371c8bd5c
commit 86a03d1dc8
2 changed files with 16 additions and 5 deletions

View File

@@ -1261,10 +1261,16 @@ export const controls = {
},
show_brush: {
type: 'CheckboxControl',
label: t('Range Filter'),
type: 'SelectControl',
label: t('Show Range Filter'),
renderTrigger: true,
default: false,
clearable: false,
default: 'auto',
choices: [
['yes', 'Yes'],
['no', 'No'],
['auto', 'Auto'],
],
description: t('Whether to display the time range interactive selector'),
},