diff --git a/lib/zin/wg/deliverable/js/v1.js b/lib/zin/wg/deliverable/js/v1.js index 144e7b5bc2..2b976254b1 100644 --- a/lib/zin/wg/deliverable/js/v1.js +++ b/lib/zin/wg/deliverable/js/v1.js @@ -32,7 +32,7 @@ window.getDocActions = function(doc, deliverable) const url = $.createLink('doc', 'view', `docID=${doc.id}`); if(isTemplate) { - actions[0] = {icon: 'eye', key: 'view', url, target: '_blank'}; + if(doc.canView) actions[0] = {icon: 'eye', key: 'view', url, target: '_blank'}; } else {