* [bug#64225,done,0.2h] fix bug.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user