ngx-wapp-components 3.0.24-alpha.3 → 3.0.24
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.
|
@@ -6646,7 +6646,6 @@ class WImageFileUploaderComponent {
|
|
|
6646
6646
|
onCustomUploadMultiMode(event) {
|
|
6647
6647
|
if (this.allowMultipleImages == true) {
|
|
6648
6648
|
event.currentFiles.forEach((file, index) => {
|
|
6649
|
-
console.log(event);
|
|
6650
6649
|
let foundIt = this.cropperImages.find(f => f.name == file.name);
|
|
6651
6650
|
let foundItAlreadyUploaded = this.imagesAlreadyUploaded.find(f => f.name == file.name);
|
|
6652
6651
|
if (event.currentFiles.length == 0) {
|
|
@@ -6699,12 +6698,9 @@ class WImageFileUploaderComponent {
|
|
|
6699
6698
|
}
|
|
6700
6699
|
else {
|
|
6701
6700
|
this.getIndexToDelete(image);
|
|
6702
|
-
console.log(image);
|
|
6703
6701
|
this.imagesAlreadyUploaded = this.imagesAlreadyUploaded.filter(img => (img.base64 !== image.base64) || (img[this.identificatorName] !== image[this.identificatorName]));
|
|
6704
6702
|
this.imagesAlreadyUploaded = [...this.activePositionProperty ? this.addPositionProperty(this.imagesAlreadyUploaded) : this.imagesAlreadyUploaded];
|
|
6705
6703
|
this.cropperImages = this.cropperImages.filter(img => (img.base64 !== image.base64) || (img.fileBase64 !== image.fileBase64) || (img[this.identificatorName] !== image[this.identificatorName]));
|
|
6706
|
-
console.log(this.cropperImages);
|
|
6707
|
-
//this.cropperImages = this.cropperImages.filter(img => (img.))
|
|
6708
6704
|
if (image[this.identificatorName]) {
|
|
6709
6705
|
this.onDeleteImage.emit({ deletedImage: image, images: this.imagesAlreadyUploaded });
|
|
6710
6706
|
}
|