diff --git a/dashboard-ui/scripts/librarylist.js b/dashboard-ui/scripts/librarylist.js index 231db5dd16..4159bfa7ed 100644 --- a/dashboard-ui/scripts/librarylist.js +++ b/dashboard-ui/scripts/librarylist.js @@ -260,6 +260,16 @@ }); } + if (user.Policy.EnableContentDownloading) { + if (mediaType) { + items.push({ + name: Globalize.translate('ButtonDownload'), + id: 'download', + ironIcon: 'file-download' + }); + } + } + if (commands.indexOf('delete') != -1) { items.push({ name: Globalize.translate('ButtonDelete'),