From 6b480f5138ced2e5fe2e054611ac3d8ceaff0f95 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Mon, 27 Jul 2020 13:56:39 +0300 Subject: [PATCH] Fix file download --- src/components/itemContextMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/itemContextMenu.js b/src/components/itemContextMenu.js index 850fe3194c..173383d064 100644 --- a/src/components/itemContextMenu.js +++ b/src/components/itemContextMenu.js @@ -352,7 +352,7 @@ import actionsheet from 'actionsheet'; }); break; case 'download': - import('fileDownloader').then(({default: fileDownloader}) => { + import('fileDownloader').then((fileDownloader) => { const downloadHref = apiClient.getItemDownloadUrl(itemId); fileDownloader.download([{ url: downloadHref,