@arsedizioni/ars-utils 19.5.26 → 19.5.27
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.
|
@@ -550,7 +550,6 @@ class SelectPictureDialogComponent {
|
|
|
550
550
|
const maxSize = this.dialogData.maxSize ?? 0;
|
|
551
551
|
if (maxSize > 0) {
|
|
552
552
|
const size = file.size / 1048576;
|
|
553
|
-
console.log("max: " + maxSize + " - file: " + size);
|
|
554
553
|
if (size > maxSize) {
|
|
555
554
|
this.dialogService.error("File troppo grande (massimo " + SystemUtils.formatFileSize(maxSize * 1048576) + ")");
|
|
556
555
|
return;
|