sr-npm 1.7.291 → 1.7.293

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.291",
3
+ "version": "1.7.293",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -343,12 +343,10 @@ async function handleLocationParam(_$w,location) {
343
343
  }
344
344
  console.log("dropdown options after fix: ", _$w('#dropdownLocation').options);
345
345
 
346
- let checkme=_$w('#dropdownLocation').options.find(option => option.value.toLowerCase() === locationValue.toLowerCase())
346
+ const option=_$w('#dropdownLocation').options.find(option => option.value.toLowerCase() === locationValue.toLowerCase())
347
347
 
348
- console.log("checkme is: ", checkme);
349
- if(checkme){
350
- console.log("location value found in dropdown options");
351
- _$w('#dropdownLocation').value = checkme.value;
348
+ if(option){
349
+ _$w('#dropdownLocation').value = option.value;
352
350
  await applyFilters(_$w, true); // Skip URL update since we're handling initial URL params
353
351
  }
354
352
  else{