Loading src/components/presentational/FootprintResults.jsx +4 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,8 @@ export default function FootprintResults(props) { // Call the callback function to pass the selected title to the Sidebar props.updateSelectedTitle(selectedCollectionTitle); props.UpdateQueryableTitles(null); // Send to Leaflet window.postMessage(["setVisibleCollections", newCollectionId], "*"); Loading Loading @@ -203,6 +205,7 @@ export default function FootprintResults(props) { } // Updates collectionId if switching to a new set of collections (new target) let myId = collectionId; if (!collections[myId]) { Loading @@ -219,6 +222,7 @@ export default function FootprintResults(props) { // Send to Leaflet window.postMessage(["setFeatureCollections", myId, collections], "*"); })(); Loading src/components/presentational/SearchAndFilterInput.jsx +6 −0 Original line number Diff line number Diff line Loading @@ -227,6 +227,10 @@ export default function SearchAndFilterInput(props) { UpdateQueryableTitles(selectedOptionsWithValues); }; //queryables const handleQueryableRemove = (event) => { UpdateQueryableTitles(event); }; // Sorting const handleSortChange = (event) => { Loading Loading @@ -296,6 +300,8 @@ export default function SearchAndFilterInput(props) { setAreaTextVal(""); // Area (received by window message from AstroMap) setDateFromVal(null); // From Date setDateToVal(null); // To Date handleQueryableRemove(null); // properties selection }, [props.targetName]); Loading src/components/presentational/Sidebar.jsx +2 −1 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ export default function Sidebar(props) { setQueryAddress={props.setQueryAddress} updateSelectedTitle={updateSelectedTitle} selectedQueryables = {updatedQueryableTitles} UpdateQueryableTitles = {UpdateQueryableTitles} /> </Collapse> </div> Loading Loading
src/components/presentational/FootprintResults.jsx +4 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,8 @@ export default function FootprintResults(props) { // Call the callback function to pass the selected title to the Sidebar props.updateSelectedTitle(selectedCollectionTitle); props.UpdateQueryableTitles(null); // Send to Leaflet window.postMessage(["setVisibleCollections", newCollectionId], "*"); Loading Loading @@ -203,6 +205,7 @@ export default function FootprintResults(props) { } // Updates collectionId if switching to a new set of collections (new target) let myId = collectionId; if (!collections[myId]) { Loading @@ -219,6 +222,7 @@ export default function FootprintResults(props) { // Send to Leaflet window.postMessage(["setFeatureCollections", myId, collections], "*"); })(); Loading
src/components/presentational/SearchAndFilterInput.jsx +6 −0 Original line number Diff line number Diff line Loading @@ -227,6 +227,10 @@ export default function SearchAndFilterInput(props) { UpdateQueryableTitles(selectedOptionsWithValues); }; //queryables const handleQueryableRemove = (event) => { UpdateQueryableTitles(event); }; // Sorting const handleSortChange = (event) => { Loading Loading @@ -296,6 +300,8 @@ export default function SearchAndFilterInput(props) { setAreaTextVal(""); // Area (received by window message from AstroMap) setDateFromVal(null); // From Date setDateToVal(null); // To Date handleQueryableRemove(null); // properties selection }, [props.targetName]); Loading
src/components/presentational/Sidebar.jsx +2 −1 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ export default function Sidebar(props) { setQueryAddress={props.setQueryAddress} updateSelectedTitle={updateSelectedTitle} selectedQueryables = {updatedQueryableTitles} UpdateQueryableTitles = {UpdateQueryableTitles} /> </Collapse> </div> Loading