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:
@@ -100,7 +100,9 @@ class MutipleDirOperationToolbar extends React.Component {
|
||||
}
|
||||
|
||||
if (dirent.type === 'file') {
|
||||
shareBtn = canGenerateShareLink ? [SHARE] : [];
|
||||
if (!currentRepoInfo.encrypted) {
|
||||
shareBtn = canGenerateShareLink ? [SHARE] : [];
|
||||
}
|
||||
|
||||
menuList = [...shareBtn, TAGS, RELATED_FILES, 'Divider', HISTORY, 'Divider', OPEN_VIA_CLIENT];
|
||||
if (!Utils.isMarkdownFile(dirent.name)) {
|
||||
|
Reference in New Issue
Block a user