1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 10:26:17 +00:00

Revert "Update menu permission valid (#4602)" (#4603)

This reverts commit 3d52a272ae.
This commit is contained in:
Daniel Pan
2020-06-24 16:11:53 +08:00
committed by GitHub
parent 3d52a272ae
commit 73c9e967c1
4 changed files with 33 additions and 39 deletions

View File

@@ -54,11 +54,6 @@ const propTypes = {
class LibContentToolbar extends React.Component {
render() {
if (!this.props.userPerm) {
return <div className="cur-view-toolbar"></div>
}
if (this.props.isViewFile) {
return (
<Fragment>