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

move download action to major button for books

This commit is contained in:
Abbe98 2019-07-28 15:51:02 +02:00
parent c04e001986
commit a3cc4a8ba9
3 changed files with 29 additions and 1 deletions

View file

@ -133,7 +133,8 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
}
}
if (item.CanDownload && appHost.supports('filedownload')) {
// Books are promoted to major download Button and therefor excluded in the context menu
if ((item.CanDownload && appHost.supports('filedownload')) && item.Type !== "Book") {
commands.push({
name: globalize.translate('Download'),
id: 'download'