@wizishop/img-manager 15.2.4 → 15.2.6

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.
@@ -252,7 +252,7 @@ class CanvaService {
252
252
  return this.apiService.CONFIG.canva_token;
253
253
  }
254
254
  getCanvaLogo() {
255
- return this.apiService.CONFIG.canva_url + "canva/icon_canva.svg";
255
+ return this.apiService.CONFIG.assets_route + "canva/icon_canva.svg";
256
256
  }
257
257
  bindEventExepectedImgSizeChange() {
258
258
  return this.bindExpectedSizeDone;
@@ -1126,7 +1126,7 @@ class PexelsService {
1126
1126
  else { // Search by category or display Pexels selection
1127
1127
  const shopCategory = this.apiService.getShopCategory();
1128
1128
  // Search by shop category
1129
- if (shopCategory && shopCategory !== 'other' && shopCategory !== 'btob') {
1129
+ if (shopCategory && shopCategory !== 'other' && shopCategory !== 'btob' && shopCategory !== 'default') {
1130
1130
  request = `/search?query=${shopCategory}&per_page=${perPage}&page=${page}&locale=en-US`;
1131
1131
  }
1132
1132
  else { // Display Pexels selection