mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 23:00:57 +00:00
modify bug to mutiple-dir-operation-toolbar
This commit is contained in:
@@ -100,7 +100,9 @@ class MutipleDirOperationToolbar extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (dirent.type === 'file') {
|
if (dirent.type === 'file') {
|
||||||
|
if (!currentRepoInfo.encrypted) {
|
||||||
shareBtn = canGenerateShareLink ? [SHARE] : [];
|
shareBtn = canGenerateShareLink ? [SHARE] : [];
|
||||||
|
}
|
||||||
|
|
||||||
menuList = [...shareBtn, TAGS, RELATED_FILES, 'Divider', HISTORY, 'Divider', OPEN_VIA_CLIENT];
|
menuList = [...shareBtn, TAGS, RELATED_FILES, 'Divider', HISTORY, 'Divider', OPEN_VIA_CLIENT];
|
||||||
if (!Utils.isMarkdownFile(dirent.name)) {
|
if (!Utils.isMarkdownFile(dirent.name)) {
|
||||||
|
Reference in New Issue
Block a user