* [bug#64225,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-07-22 05:34:11 +00:00
parent 717462a20a
commit ce35fbc34f
+1 -1
View File
@@ -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
{