@civicactions/cmsds-open-data-components 4.0.18 → 4.0.19-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1509,7 +1509,12 @@ const $e873081a6e8f024e$var$DatasetSearch = (props)=>{
1509
1509
  };
1510
1510
  function updateSelectedFacets(key, value) {
1511
1511
  const newFacets = {
1512
- ...selectedFacets
1512
+ theme: [
1513
+ ...selectedFacets.theme
1514
+ ],
1515
+ keyword: [
1516
+ ...selectedFacets.keyword
1517
+ ]
1513
1518
  };
1514
1519
  if (key === 'theme') {
1515
1520
  const existingFacet = newFacets.theme.findIndex((s)=>s === value);