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

Merge pull request #3778 from nielsvanvelzen/itemdetails-download-missing-args

Add title and filename to download request in item details
This commit is contained in:
Bill Thornton 2022-07-27 09:41:40 -04:00 committed by GitHub
commit 6fe43e45e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1966,7 +1966,9 @@ export default function (view, params) {
download([{
url: downloadHref,
itemId: currentItem.Id,
serverId: currentItem.serverId
serverId: currentItem.ServerId,
title: currentItem.Name,
filename: currentItem.Path.replace(/^.*[\\/]/, '')
}]);
}