@webitel/ui-sdk 26.8.93 → 26.8.94

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.93",
3
+ "version": "26.8.94",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -70,7 +70,7 @@
70
70
  <wt-icon-action
71
71
  action="download"
72
72
  :disabled="isDownloadDisabled(item)"
73
- @click="downloadPdf(item.fileId)"
73
+ @click="downloadPdf(item.fileId, item.name)"
74
74
  />
75
75
  <wt-icon-action
76
76
  action="delete"
@@ -288,8 +288,8 @@ const handleDelete = async (items: WebitelMediaExporterExportRecord[]) => {
288
288
  }
289
289
  };
290
290
 
291
- const downloadPdf = async (id: string) => {
292
- await downloadFile(id);
291
+ const downloadPdf = async (id: string, name?: string) => {
292
+ await downloadFile(id, name);
293
293
  };
294
294
 
295
295
  const isDownloadingArchive = ref(false);