ngx-wapp-components 3.2.16 → 3.2.17-alpha.2
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.
|
@@ -6981,7 +6981,7 @@ class WImageFileUploaderComponent {
|
|
|
6981
6981
|
}
|
|
6982
6982
|
onDeleteImageMultiMode(image) {
|
|
6983
6983
|
this.isDeletingMultiMode = true;
|
|
6984
|
-
if (this.activeImageUpload && this.identificatorValue == 0) {
|
|
6984
|
+
if (this.deactiveImageMethods == false ? this.activeImageUpload : this.activeImageUpload && this.identificatorValue == 0) {
|
|
6985
6985
|
let deleteUrlFinal = this.deleteUrl + "/" + image[this.identificatorName];
|
|
6986
6986
|
this.http.delete(deleteUrlFinal, { headers: this.headers }).subscribe({
|
|
6987
6987
|
next: () => {
|
|
@@ -7024,7 +7024,7 @@ class WImageFileUploaderComponent {
|
|
|
7024
7024
|
}
|
|
7025
7025
|
}
|
|
7026
7026
|
updateImage(imagesToUpdate) {
|
|
7027
|
-
let updateUrlFinal = this.updateUrl.replace('{id}', this.identificatorValue);
|
|
7027
|
+
let updateUrlFinal = this.deactiveImageMethods == true ? this.updateUrl.replace('{id}', this.identificatorValue) : this.updateUrl + "/" + this.identificatorValue;
|
|
7028
7028
|
this.http.put(updateUrlFinal, imagesToUpdate, { headers: this.headers }).subscribe({
|
|
7029
7029
|
next: (imagesUpdated) => {
|
|
7030
7030
|
this.disableMoveButtons = false;
|