diff --git a/lib/zin/wg/deliverable/js/v1.js b/lib/zin/wg/deliverable/js/v1.js index f48434fa84..d9364c4a16 100644 --- a/lib/zin/wg/deliverable/js/v1.js +++ b/lib/zin/wg/deliverable/js/v1.js @@ -7,6 +7,7 @@ window.getDeliverableFileActions = function(file, deliverable) let actions = []; actions[0] = {icon: 'edit', key: 'rename'}; actions[1] = {icon: 'trash', key: 'delete'}; + if(canDownload) actions[2] = {icon: 'download', key: 'download', url: $.createLink('file', 'download', 'id=' + file.id), target: '_blank'}; return actions; }