@civicactions/cmsds-open-data-components 3.7.0-alpha.5 → 3.7.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
@@ -3903,7 +3903,7 @@ const $b4aa9c66f2e86959$var$useMetastoreDataset = (datasetId, rootAPIUrl)=>{
3903
3903
  "metastore" + id
3904
3904
  ],
3905
3905
  queryFn: ()=>{
3906
- return (0, $hgUW1$axios).get(`${rootUrl}/metastore/schemas/dataset/items/${id}?show-reference-ids&${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`).then((res)=>res.data).catch((error)=>{
3906
+ return (0, $hgUW1$axios).get(`${rootUrl}/metastore/schemas/dataset/items/${id}?show-reference-ids${ACA ? "&" : ""}${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)({}, ACA))}`).then((res)=>res.data).catch((error)=>{
3907
3907
  return {
3908
3908
  title: dataset.title,
3909
3909
  distribution: dataset.distribution,
@@ -3968,7 +3968,8 @@ const $1d3d480a9cfaabe0$var$useDatastore = (resourceId, rootAPIUrl, options, add
3968
3968
  groupings: groupings,
3969
3969
  ...additionalParams
3970
3970
  };
3971
- const paramsString = Object.keys(params).length ? `${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA))}` : "";
3971
+ params = (0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA);
3972
+ const paramsString = Object.keys(params).length ? `${(0, $hgUW1$qs).stringify(params)}` : "";
3972
3973
  let enabled = false;
3973
3974
  if (id) {
3974
3975
  if (!requireConditions) enabled = true;