1
0
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:
Daniel Pan
2025-01-21 13:39:10 +08:00
committed by GitHub
parent 9900ffc43a
commit b606f65f4e
7 changed files with 5 additions and 33 deletions

View File

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