mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
repair no userPerm bug (#4696)
This commit is contained in:
@@ -55,10 +55,6 @@ class LibContentToolbar extends React.Component {
|
||||
|
||||
render() {
|
||||
|
||||
if (!this.props.userPerm) {
|
||||
return <div className="cur-view-toolbar"></div>
|
||||
}
|
||||
|
||||
if (this.props.isViewFile) {
|
||||
return (
|
||||
<Fragment>
|
||||
|
Reference in New Issue
Block a user