sr-npm 1.7.624 → 1.7.625

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.624",
3
+ "version": "1.7.625",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -262,8 +262,8 @@ async function refreshFacetCounts(_$w) {
262
262
  for (const id of valueIds) {
263
263
  const found = opts.find((option) => option.value === id);
264
264
  const label = found.label;
265
- //selectedItems.push({ _id: `${fieldId}:${id}`, label, fieldId, valueId: id });
266
- selectedItems.push({ label, fieldId, _id: id }); //_id is the valueId
265
+ selectedItems.push({ _id: `${fieldId}:${id}`, label, fieldId, valueId: id });
266
+ // selectedItems.push({ label, fieldId, _id: id }); //_id is the valueId
267
267
  }
268
268
  }
269
269
  console.log("selectedItems inside updateSelectedValuesRepeater: ",selectedItems)