diff --git a/src/renderer/plugins/file-tree-context-menu.ts b/src/renderer/plugins/file-tree-context-menu.ts index 47e198ca..2e7e2aa9 100644 --- a/src/renderer/plugins/file-tree-context-menu.ts +++ b/src/renderer/plugins/file-tree-context-menu.ts @@ -43,7 +43,7 @@ export default { } return [ - ...(isMarkdown && !ctx.doc.isEncrypted(node) ? [ + ...(!ctx.doc.isEncrypted(node) ? [ { id: 'duplicate', label: t('tree.context-menu.duplicate'), onClick: () => ctx.doc.duplicateDoc(node), ellipsis: true }, ] : []), ...(node.type === 'dir' ? [