@civicactions/cmsds-open-data-components 3.2.6-alpha.4 → 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 +5 -2
- package/dist/main.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
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:
|
|
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
|
},
|
|
@@ -1857,7 +1861,6 @@ const $5fe94aeb50e0798b$var$Card = ({ id: id, visible: visible, updateVisibility
|
|
|
1857
1861
|
checked: visible,
|
|
1858
1862
|
className: "ds-l-col--10 ds-u-margin-top--0 ds-u-margin-y--1 ds-u-padding-x--3",
|
|
1859
1863
|
labelClassName: "dc-truncate",
|
|
1860
|
-
title: "Toggle Column Visible",
|
|
1861
1864
|
value: "",
|
|
1862
1865
|
onChange: ()=>{
|
|
1863
1866
|
updateVisibility(id, !visible);
|