@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.
- package/README.md +120 -119
- package/esm2020/lib/services/canva.service.mjs +2 -2
- package/esm2020/lib/services/img-manager.service.mjs +1 -1
- package/esm2020/lib/services/img-selection.service.mjs +1 -1
- package/esm2020/lib/services/pexels.service.mjs +2 -2
- package/fesm2015/wizishop-img-manager.mjs +2 -2
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +2 -2
- package/fesm2020/wizishop-img-manager.mjs.map +1 -1
- package/package.json +1 -1
- package/wizishop-img-manager-15.2.6.tgz +0 -0
- package/wz-img-manager.scss +229 -229
- package/wizishop-img-manager-15.2.4.tgz +0 -0
|
@@ -252,7 +252,7 @@ class CanvaService {
|
|
|
252
252
|
return this.apiService.CONFIG.canva_token;
|
|
253
253
|
}
|
|
254
254
|
getCanvaLogo() {
|
|
255
|
-
return this.apiService.CONFIG.
|
|
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
|