sr-npm 1.7.914 → 1.7.915
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 +3 -3
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -507,9 +507,6 @@ async function updateMapMarkers(_$w){
|
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
async function handleBrandDropdown(_$w){
|
|
510
|
-
console.log("siteconfig: ", siteconfig);
|
|
511
|
-
console.log("siteconfig.disableMultiBrand: ", siteconfig.disableMultiBrand);
|
|
512
|
-
console.log("siteconfig.disableMultiBrand==='false': ", siteconfig.disableMultiBrand==="false");
|
|
513
510
|
if(siteconfig.disableMultiBrand==="false"){
|
|
514
511
|
const brands=await wixData.query(COLLECTIONS.BRANDS).find();
|
|
515
512
|
if(brands.items.length>1){
|
|
@@ -517,6 +514,9 @@ async function handleBrandDropdown(_$w){
|
|
|
517
514
|
_$w('#dropdownBrand').show();
|
|
518
515
|
}
|
|
519
516
|
}
|
|
517
|
+
else{
|
|
518
|
+
_$w('#dropdownBrand').hide();
|
|
519
|
+
}
|
|
520
520
|
}
|
|
521
521
|
module.exports = {
|
|
522
522
|
careersPageOnReady,
|