From c6579cf11594a850444e23ec7ff878797929a9a5 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 13 Sep 2018 22:47:44 -0400 Subject: [PATCH] Fixed: Create default value for filterValue in FilterBuilderRowValue Co-Authored-By: Mark McDowall --- .../src/Components/Filter/Builder/FilterBuilderRowValue.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js b/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js index 58f4f2a5b..62b56da9f 100644 --- a/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js +++ b/frontend/src/Components/Filter/Builder/FilterBuilderRowValue.js @@ -97,4 +97,8 @@ FilterBuilderRowValue.propTypes = { onChange: PropTypes.func.isRequired }; +FilterBuilderRowValue.defaultProps = { + filterValue: [] +}; + export default FilterBuilderRowValue;