1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-28 16:17:02 +00:00

Revert "Revert "[library list] added 'plus' icon to the toggle of the dropdow…" (#7412)

This reverts commit b606f65f4e.
This commit is contained in:
Daniel Pan
2025-01-23 09:39:38 +08:00
committed by GitHub
parent a4738295db
commit 9cf1e9564a
7 changed files with 33 additions and 5 deletions

View File

@@ -250,10 +250,11 @@ class SharedWithAll extends React.Component {
<div className="main-panel-center">
<div className="cur-view-container">
<div className="cur-view-path">
<h3 className="sf-heading m-0">
<h3 className="sf-heading m-0 d-flex align-items-center">
{gettext('Shared with all')}
{canAddPublicRepo &&
<SingleDropdownToolbar
withPlusIcon={true}
opList={[
{ 'text': gettext('Share existing libraries'), 'onClick': this.onSelectRepoToggle },
{ 'text': gettext('New Library'), 'onClick': this.onCreateRepoToggle }