mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 22:33:17 +00:00
revert files tags (#3132)
This commit is contained in:
@@ -38,14 +38,8 @@ class DirentMenu extends React.Component {
|
||||
menuList.splice(2, 1);
|
||||
}
|
||||
}
|
||||
} else if (length > 1) {
|
||||
menuList = ['Tags'];
|
||||
for (let i = 0; i < length; i++) {
|
||||
if (dirents[i].type === 'dir') {
|
||||
menuList = [];
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
menuList = [];
|
||||
}
|
||||
this.setState({
|
||||
menuList: menuList,
|
||||
|
Reference in New Issue
Block a user