mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
remove unused code in lib-content-toolbar.js
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