@wizishop/img-manager 15.0.6 → 15.0.7
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/esm2020/lib/services/img-manager.service.mjs +4 -2
- package/fesm2015/wizishop-img-manager.mjs +3 -1
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +3 -1
- package/fesm2020/wizishop-img-manager.mjs.map +1 -1
- package/package.json +1 -1
- package/wizishop-img-manager-15.0.7.tgz +0 -0
- package/wizishop-img-manager-15.0.6.tgz +0 -0
|
@@ -209,7 +209,9 @@ class ImgManagerService {
|
|
|
209
209
|
return header;
|
|
210
210
|
}
|
|
211
211
|
getShopImgList(params) {
|
|
212
|
-
if (params && this.previousParams && this.previousParams.limit === params.limit
|
|
212
|
+
if (params && this.previousParams && this.previousParams.limit === params.limit
|
|
213
|
+
&& this.previousParams.page === params.page && this.shopImgList
|
|
214
|
+
&& this.previousParams["display_name:contains"] === params["display_name:contains"]) {
|
|
213
215
|
return of(this.shopImgList).pipe(delay(0));
|
|
214
216
|
}
|
|
215
217
|
return this.http.get(`${this.imgManagerRoute}/images`, this.getOptionsHeaders(params)).pipe(tap((shopImgList) => {
|