Fix file download
This commit is contained in:
parent
cefe6fe7c6
commit
6b480f5138
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue