Skip to content
Snippets Groups Projects
Commit 41b2b9ce authored by Jacob Cain's avatar Jacob Cain
Browse files

Reset show properties box

parent eaae20dc
No related branches found
No related tags found
No related merge requests found
......@@ -236,6 +236,11 @@ export default function SearchAndFilterInput(props) {
return () => window.removeEventListener("message", onBoxDraw);
}, []);
// If Available queriables are changed, reset the ones selected to none
useEffect(() => {
setSelectedOptions([]);
}, [props.availableQueriables]);
// If target is changed, reset filter values;
useEffect(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment