ui-core-abv 0.5.25 → 0.5.26
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.
package/fesm2022/ui-core-abv.mjs
CHANGED
|
@@ -2319,9 +2319,7 @@ class UicFileInputComponent extends base$2 {
|
|
|
2319
2319
|
link.href = item.path;
|
|
2320
2320
|
link.target = '_blank';
|
|
2321
2321
|
link.rel = 'noopener';
|
|
2322
|
-
|
|
2323
|
-
link.download = item.name;
|
|
2324
|
-
}
|
|
2322
|
+
link.download = item.name || 'file';
|
|
2325
2323
|
document.body.appendChild(link);
|
|
2326
2324
|
link.click();
|
|
2327
2325
|
link.remove();
|