@arsedizioni/ars-utils 19.5.13 → 19.5.14

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.
@@ -558,12 +558,12 @@ class SelectPictureDialogComponent {
558
558
  this.dialogService.error("Immagine troppo alta (massimo " + maxHeight + " pixel)");
559
559
  return;
560
560
  }
561
+ this.filePreview.set(_e.target.result);
562
+ this.file = f;
561
563
  };
562
564
  img.src = _e.target.result;
563
- this.filePreview.set(_e.target.result);
564
565
  };
565
566
  reader.readAsDataURL(f);
566
- this.file = f;
567
567
  }
568
568
  }
569
569
  /**