1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

repair code error

This commit is contained in:
shanshuirenjia
2019-05-05 13:25:02 +08:00
parent f4d048f16e
commit d70bb96195

View File

@@ -362,7 +362,7 @@ class GroupView extends React.Component {
<div className="cur-view-toolbar">
<span className="sf2-icon-menu side-nav-toggle hidden-md-up d-md-none" title="Side Nav Menu" onClick={this.props.onShowSidePanel}></span>
<div className="operation">
{((!isDepartmentGroup && currentGroup) || (isDepartmentGroup && isStaff)) && (
{((!isDepartmentGroup && canAddRepo) || (isDepartmentGroup && isStaff)) && (
<button className="btn btn-secondary operation-item" title={gettext('New Library')} onClick={this.onCreateRepoToggle}>
<i className="fas fa-plus-square text-secondary mr-1"></i>{gettext('New Library')}
</button>