1
0
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:
杨顺强
2020-06-24 18:35:38 +08:00
committed by GitHub
parent 2adc0540a9
commit 66300cf07b
4 changed files with 39 additions and 33 deletions

View File

@@ -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>