mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #3778 from jellyfin/release-10.8.z
Add title and filename to download request in item details
Authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
Merged-by: Bill Thornton <thornbill@users.noreply.github.com>
Original-merge: 6fe43e45e9
This commit is contained in:
parent
497999ce00
commit
29fb5d3379
1 changed files with 3 additions and 1 deletions
|
@ -1985,7 +1985,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