1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 14:49:09 +00:00

modify bug to mutiple-dir-operation-toolbar

This commit is contained in:
zxj96
2019-04-25 17:04:31 +08:00
parent 9f0bf9aba0
commit 2c83d6882c

View File

@@ -100,7 +100,9 @@ class MutipleDirOperationToolbar extends React.Component {
}
if (dirent.type === 'file') {
if (!currentRepoInfo.encrypted) {
shareBtn = canGenerateShareLink ? [SHARE] : [];
}
menuList = [...shareBtn, TAGS, RELATED_FILES, 'Divider', HISTORY, 'Divider', OPEN_VIA_CLIENT];
if (!Utils.isMarkdownFile(dirent.name)) {