mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +00:00
repair code error
This commit is contained in:
@@ -362,7 +362,7 @@ class GroupView extends React.Component {
|
|||||||
<div className="cur-view-toolbar">
|
<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>
|
<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">
|
<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}>
|
<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')}
|
<i className="fas fa-plus-square text-secondary mr-1"></i>{gettext('New Library')}
|
||||||
</button>
|
</button>
|
||||||
|
Reference in New Issue
Block a user