Skip to content
Snippets Groups Projects
Commit 9f20e30a authored by esikkala's avatar esikkala
Browse files

Fix facet dialog

parent 7fb486af
No related branches found
No related tags found
No related merge requests found
......@@ -26,19 +26,11 @@ class FacetDialog extends React.Component {
this.props.fetchFacet();
}
<<<<<<< HEAD
// componentDidUpdate = prevProps => {
// if (prevProps.facet.facetFilters != this.props.facet.facetFilters) {
// this.props.fetchFacet();
// }
// }
=======
componentDidUpdate = prevProps => {
if (prevProps.facet.facetFilters != this.props.facet.facetFilters) {
this.props.fetchFacet();
}
}
>>>>>>> 467c1d7b0260ffc7ff809f4a630fa873a05f66dc
handleClose = () => this.props.closeFacetDialog();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment