diff --git a/lib/DocumentFilter/DocumentFilterRule.js b/lib/DocumentFilter/DocumentFilterRule.js index 053be921..8daf11b9 100644 --- a/lib/DocumentFilter/DocumentFilterRule.js +++ b/lib/DocumentFilter/DocumentFilterRule.js @@ -60,14 +60,12 @@ const DocumentFilterRule = ({ {({ input }) => ( - <> - - + )} @@ -106,6 +104,7 @@ DocumentFilterRule.propTypes = { value: PropTypes.shape({ operator: PropTypes.string, value: PropTypes.string, + path: PropTypes.string, }), }; diff --git a/lib/DocumentFilter/SupplementaryDocumentFilterRule.js b/lib/DocumentFilter/SupplementaryDocumentFilterRule.js index 559d5bdc..8a20d2b8 100644 --- a/lib/DocumentFilter/SupplementaryDocumentFilterRule.js +++ b/lib/DocumentFilter/SupplementaryDocumentFilterRule.js @@ -138,6 +138,7 @@ DocumentFilterRule.propTypes = { value: PropTypes.shape({ operator: PropTypes.string, value: PropTypes.string, + path: PropTypes.string, }), };