mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add title and filename to download request in item details
This commit is contained in:
parent
db346e4c05
commit
5489f34b92
1 changed files with 3 additions and 1 deletions
|
@ -1966,7 +1966,9 @@ export default function (view, params) {
|
||||||
download([{
|
download([{
|
||||||
url: downloadHref,
|
url: downloadHref,
|
||||||
itemId: currentItem.Id,
|
itemId: currentItem.Id,
|
||||||
serverId: currentItem.serverId
|
serverId: currentItem.serverId,
|
||||||
|
title: currentItem.Name,
|
||||||
|
filename: currentItem.Path.replace(/^.*[\\/]/, '')
|
||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue