@wizishop/img-manager 15.2.39 → 15.2.40
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/components/images-view/images-view.component.mjs +1 -3
- package/esm2020/lib/pipes/pagination/total-pages/is-last-page.pipe.mjs +1 -4
- package/fesm2015/wizishop-img-manager.mjs +0 -5
- package/fesm2015/wizishop-img-manager.mjs.map +1 -1
- package/fesm2020/wizishop-img-manager.mjs +0 -5
- package/fesm2020/wizishop-img-manager.mjs.map +1 -1
- package/package.json +1 -1
- package/wizishop-img-manager-15.2.40.tgz +0 -0
- package/wizishop-img-manager-15.2.39.tgz +0 -0
|
@@ -2090,9 +2090,6 @@ class PagniationIsLastPage {
|
|
|
2090
2090
|
* @param itemsPerPage
|
|
2091
2091
|
*/
|
|
2092
2092
|
transform(currentPage, totalItems, itemsPerPage) {
|
|
2093
|
-
console.log('currentPage', currentPage);
|
|
2094
|
-
console.log('totalItems', totalItems);
|
|
2095
|
-
console.log('itemsPerPage', itemsPerPage);
|
|
2096
2093
|
if (!(currentPage >= 0 && totalItems >= 0 && itemsPerPage >= 0)) {
|
|
2097
2094
|
throw new Error('currentPage or totalItems or itemsPerPage is/are missing in PagniationIsLastPage pipe.');
|
|
2098
2095
|
}
|
|
@@ -3339,7 +3336,6 @@ class ImagesViewComponent {
|
|
|
3339
3336
|
this.selectImgSelected();
|
|
3340
3337
|
this.length = this.isTotalRetrieved ? this.length : data.totalRecords;
|
|
3341
3338
|
this.tableFilters.totalItems = this.isTotalRetrieved ? this.tableFilters.totalItems : data.totalRecords;
|
|
3342
|
-
console.log('this.tableFilters.totalItems 1', this.tableFilters.totalItems);
|
|
3343
3339
|
this.tableFilters.itemsPerPage = this.tableFilters.itemsPerPage ? this.tableFilters.itemsPerPage : this.pageSize;
|
|
3344
3340
|
// Display Pexels if no result
|
|
3345
3341
|
if (data.totalRecords === 0) {
|
|
@@ -3366,7 +3362,6 @@ class ImagesViewComponent {
|
|
|
3366
3362
|
this.isTotalRetrieved = true;
|
|
3367
3363
|
this.length = total;
|
|
3368
3364
|
this.tableFilters.totalItems = total;
|
|
3369
|
-
console.log('this.tableFilters.totalItems 1', this.tableFilters.totalItems);
|
|
3370
3365
|
},
|
|
3371
3366
|
error: error => {
|
|
3372
3367
|
//this.alertService.openAlert(this.errorGetTotalImg);
|