diff --git a/src/components/fields/SpecField.jsx b/src/components/fields/SpecField.jsx index 4057579..cfede69 100644 --- a/src/components/fields/SpecField.jsx +++ b/src/components/fields/SpecField.jsx @@ -70,6 +70,7 @@ export default class SpecField extends React.Component { if(options.length <= 3 && optionsLabelLength(options) <= 20) { return } else { diff --git a/src/components/filter/FilterEditor.jsx b/src/components/filter/FilterEditor.jsx index ea40193..6f7f0cc 100644 --- a/src/components/filter/FilterEditor.jsx +++ b/src/components/filter/FilterEditor.jsx @@ -30,7 +30,7 @@ function hasNestedCombiningFilter(filter) { export default class CombiningFilterEditor extends React.Component { static propTypes = { /** Properties of the vector layer and the available fields */ - properties: React.PropTypes.object.isRequired, + properties: React.PropTypes.object, filter: React.PropTypes.array, onChange: React.PropTypes.func.isRequired, }