chrv-components 1.12.238 → 1.12.239

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.
Binary file
@@ -4812,7 +4812,11 @@ class ChrFileInputComponent extends ChrInputComponent {
4812
4812
  toObservable(this.files)
4813
4813
  .pipe(startWith([]), distinctUntilChanged())
4814
4814
  .subscribe((f) => {
4815
- this.onChange(f.length > 0 ? (this.multiple() ? f.map((f) => f.file) : f[0]) : null);
4815
+ this.onChange(f.length > 0
4816
+ ? this.multiple()
4817
+ ? f.map((f) => f.file)
4818
+ : f[0].file
4819
+ : null);
4816
4820
  });
4817
4821
  }
4818
4822
  ngOnInit() {