1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

repair access log -bug

This commit is contained in:
shanshuirenjia
2019-05-30 16:12:33 +08:00
parent a204d10a4b
commit a762d3b9b3
3 changed files with 8 additions and 6 deletions

View File

@@ -109,7 +109,7 @@ class MutipleDirOperationToolbar extends React.Component {
return menu !== RELATED_FILES;
});
}
if (!fileAuditEnabled) {
if (!isPro || !fileAuditEnabled) {
menuList = menuList.filter(menu => {
return menu !== ACCESS_LOG;
});