mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 02:42:47 +00:00
update readonly toolbar effect (#4605)
This commit is contained in:
@@ -54,6 +54,11 @@ 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>
|
||||
|
Reference in New Issue
Block a user