mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
Revert "[library list] added 'plus' icon to the toggle of the dropdown menus …" (#7401)
This reverts commit 798384a638
.
This commit is contained in:
@@ -368,7 +368,6 @@ class GroupView extends React.Component {
|
||||
const opList = [];
|
||||
if ((!isDepartmentGroup && canAddRepo) ||
|
||||
(isDepartmentGroup && isStaff)) {
|
||||
this.newLibraryEnalbed = true;
|
||||
opList.push({ 'text': gettext('New Library'), 'onClick': this.onCreateRepoToggle }, 'Divider');
|
||||
}
|
||||
opList.push({ 'text': gettext('Members'), 'onClick': this.toggleMembersDialog });
|
||||
@@ -440,10 +439,7 @@ class GroupView extends React.Component {
|
||||
<span className="sf3-font-department sf3-font nav-icon" title={gettext('This is a special group representing a department.')}></span>
|
||||
}
|
||||
<span>{currentGroup.name}</span>
|
||||
<SingleDropdownToolbar
|
||||
withPlusIcon={this.newLibraryEnalbed}
|
||||
opList={opList}
|
||||
/>
|
||||
<SingleDropdownToolbar opList={opList} />
|
||||
</div>
|
||||
<div className="path-tool d-flex align-items-center">
|
||||
{isDepartmentGroup && (
|
||||
|
Reference in New Issue
Block a user