@civicactions/cmsds-open-data-components 3.2.6-alpha.5 → 3.3.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
@@ -1389,6 +1389,7 @@ const $1d3d480a9cfaabe0$var$useDatastore = (resourceId, rootAPIUrl, options, add
1389
1389
  "datastore" + id + additionalParamsString
1390
1390
  ],
1391
1391
  queryFn: ()=>{
1392
+ setCount(null);
1392
1393
  return fetch(`${rootUrl}/datastore/query/${id}?${additionalParamsString}`).then((res)=>res.json());
1393
1394
  },
1394
1395
  enabled: enabled
@@ -1551,7 +1552,10 @@ const $6da0396069e23175$export$bc27cf7ecf44639d = {
1551
1552
  });
1552
1553
  if (data.hasEmail) rows.push({
1553
1554
  label: "Contact Email",
1554
- value: data.hasEmail
1555
+ value: /*#__PURE__*/ (0, $hgUW1$jsx)("a", {
1556
+ href: data.hasEmail.includes("mailto:") ? data.hasEmail : `mailto:${data.hasEmail}`,
1557
+ children: data.hasEmail.replace("mailto:", "")
1558
+ })
1555
1559
  });
1556
1560
  return rows;
1557
1561
  },