sr-npm 1.7.196 → 1.7.197

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.196",
3
+ "version": "1.7.197",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -316,7 +316,7 @@ function fixDropdownOptions(dropdown,optionsFromCMS, _$w){
316
316
  async function handleLocationParam(_$w,location) {
317
317
  let dropdownOptions = _$w('#dropdownLocation').options;
318
318
  console.log("location dropdown options:", dropdownOptions);
319
- const optionsFromCMS=await wixData.query("Cities").find();
319
+ const optionsFromCMS=await wixData.query("cities").find();
320
320
  //+1 because of the "All" option
321
321
 
322
322
  if(dropdownOptions.length!==optionsFromCMS.items.length+1){