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 +1 -1
- package/pages/careersPage.js +1 -1
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -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("
|
|
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){
|