sr-npm 1.7.516 → 1.7.518

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.516",
3
+ "version": "1.7.518",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -506,10 +506,8 @@ async function handleBrandDropdown(_$w) {
506
506
  console.log("disableMultiBrand token wasn't found");
507
507
 
508
508
  }
509
- if (disableMultiBrand === 'true') {
510
- console.log("hiding brand dropdown");
511
- _$w('#dropdownBrand').hide();
512
- } else if (brands.items.length > 1) {
509
+ console.log("disableMultiBrand: ", disableMultiBrand);
510
+ if (brands.items.length > 1 && disableMultiBrand !== 'true') {
513
511
  console.log("showing brand dropdown");
514
512
  _$w('#dropdownBrand').show();
515
513
  }