Fix file download

This commit is contained in:
Dmitry Lyzo 2020-07-27 13:56:39 +03:00
parent cefe6fe7c6
commit 6b480f5138

View File

@ -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,