[filter_box] allow empty filters list (#7220)

in some cases, people want a time filter only on filter box, without
specifying dimensions (filters), this allows that
This commit is contained in:
Maxime Beauchemin
2019-04-04 22:17:35 -07:00
committed by Christine Chambers
parent b4915caa6e
commit e39b169949

View File

@@ -2382,7 +2382,7 @@ export const controls = {
type: 'CollectionControl',
label: 'Filters',
description: t('Filter configuration for the filter box'),
validators: [v.nonEmpty],
validators: [],
controlName: 'FilterBoxItemControl',
mapStateToProps: ({ datasource }) => ({ datasource }),
},