sales-frontend-utils 0.0.26 → 0.0.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.
package/dist/index.js CHANGED
@@ -630,7 +630,7 @@ function downloadBlob(blob, filename) {
630
630
  const link = document.createElement("a");
631
631
  link.style.display = "none";
632
632
  link.href = url;
633
- link.download = filename;
633
+ link.download = `${filename}.${getExt(blob)}`;
634
634
  document.body.appendChild(link);
635
635
  link.click();
636
636
  document.body.removeChild(link);