sr-npm 1.7.151 → 1.7.153

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.151",
3
+ "version": "1.7.153",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -271,10 +271,11 @@ async function handleDepartmentParam(_$w,department) {
271
271
  //+1 because of the "All" option
272
272
 
273
273
  if(dropdownOptions.length!==optionsFromCMS.items.length+1){
274
- dropdownOptions={
274
+
275
+ dropdownOptions=[{
275
276
  label: "All",
276
277
  value: "RESET_ALL"
277
- }
278
+ }]
278
279
  dropdownOptions.push(...optionsFromCMS.items.map(item=>({
279
280
  label: item.title,
280
281
  value: item.title