mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed multiple default imports missing
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
5b5d6a45b0
commit
0da8f4eb85
3 changed files with 3 additions and 3 deletions
|
@ -1958,7 +1958,7 @@ export default function (view, params) {
|
|||
}
|
||||
|
||||
function onDownloadClick() {
|
||||
import('../../scripts/fileDownloader').then(({ default: fileDownloader }) => {
|
||||
import('../../scripts/fileDownloader').then((fileDownloader) => {
|
||||
const downloadHref = getApiClient().getItemDownloadUrl(currentItem.Id);
|
||||
fileDownloader.download([{
|
||||
url: downloadHref,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue