monkey-front-components 0.0.318 → 0.0.321

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.
@@ -2633,13 +2633,13 @@ class ProductsModel {
2633
2633
  SALES_FINANCE: 'SF'
2634
2634
  }[product];
2635
2635
  let handled = 'https://assets.monkey.exchange';
2636
- if (domain === '.monkey.credit') {
2637
- handled = `/credit/wl/${token}/login.svg`;
2636
+ if (domain.includes('monkey.credit')) {
2637
+ handled = `credit/wl/${token}/login.svg`;
2638
2638
  }
2639
2639
  else {
2640
- handled = `/${sufix}/${country}/wl/${token}/login.svg`;
2640
+ handled = `${sufix}/${country}/wl/${token}/login.svg`;
2641
2641
  }
2642
- this.logo = handled.toLowerCase();
2642
+ this.logo = `https://assets.monkey.exchange/${handled}`.toLowerCase();
2643
2643
  }
2644
2644
  }
2645
2645