1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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; break;
case 'download': case 'download':
import('fileDownloader').then(({default: fileDownloader}) => { import('fileDownloader').then((fileDownloader) => {
const downloadHref = apiClient.getItemDownloadUrl(itemId); const downloadHref = apiClient.getItemDownloadUrl(itemId);
fileDownloader.download([{ fileDownloader.download([{
url: downloadHref, url: downloadHref,