willba-component-library 0.1.27 → 0.1.28

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/lib/index.esm.js CHANGED
@@ -8059,8 +8059,11 @@ function useFilterBar(_a) {
8059
8059
  : '',
8060
8060
  endDate: (calendarRange === null || calendarRange === void 0 ? void 0 : calendarRange.to) ? format(calendarRange.to, 'yyyy-MM-dd') : '',
8061
8061
  categories: categories,
8062
- ageCategoryCounts: JSON.stringify(ageCategoryCounts),
8062
+ ageCategoryCounts: Object.entries(ageCategoryCounts).length
8063
+ ? JSON.stringify(ageCategoryCounts)
8064
+ : '',
8063
8065
  };
8066
+ console.log(params);
8064
8067
  for (var _i = 0, _a = Object.entries(params); _i < _a.length; _i++) {
8065
8068
  var _b = _a[_i], key = _b[0], value = _b[1];
8066
8069
  if (value) {