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

Result table: check for facet updates when mounted

parent 208cd0f6
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,11 @@ class ResultTable extends React.Component {
search: `?page=${page}`,
});
// check if facet updates have been made before
if (this.props.facetUpdateID > 0) {
this.fetchResults();
}
}
componentDidUpdate = prevProps => {
......
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