chrv-components 1.12.195 → 1.12.196
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
|
|
@@ -4750,7 +4750,7 @@ class ChrFileInputComponent extends ChrInputComponent {
|
|
|
4750
4750
|
: newFiles.slice(0, 1);
|
|
4751
4751
|
const newEntries = filteredNewFiles.map((file) => ({
|
|
4752
4752
|
id: this.nextFileId++,
|
|
4753
|
-
file: new ChrFile({ file }),
|
|
4753
|
+
file: new ChrFile({ file, url: URL.createObjectURL(file) }),
|
|
4754
4754
|
progress: this.isAcceptedFile(file) && this.base64() ? 0 : 100,
|
|
4755
4755
|
error: this.isAcceptedFile(file)
|
|
4756
4756
|
? undefined
|