mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
[draft] removed related code & files (#5993)
* [draft] removed related code & files * [draft] removed related code & files
This commit is contained in:
@@ -12,7 +12,6 @@ import { canViewOrg, isDocs, isPro, isDBSqlite3, customNavItems } from '../utils
|
||||
const propTypes = {
|
||||
currentTab: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
||||
tabItemClick: PropTypes.func.isRequired,
|
||||
draftCounts: PropTypes.number,
|
||||
};
|
||||
|
||||
class MainSideNav extends React.Component {
|
||||
@@ -251,15 +250,6 @@ class MainSideNav extends React.Component {
|
||||
<span className="nav-text">{gettext('Published Libraries')}</span>
|
||||
</Link>
|
||||
</li>
|
||||
{/*isDocs &&
|
||||
<li className="nav-item" onClick={(e) => this.tabItemClick(e, 'drafts')}>
|
||||
<Link className={`nav-link ellipsis ${this.getActiveClass('drafts')}`} to={siteRoot + 'drafts/'} title={gettext('Drafts')}>
|
||||
<span className="sf2-icon-edit" aria-hidden="true"></span>
|
||||
<span className="nav-text">{gettext('Drafts')}</span>
|
||||
{this.props.draftCounts > 0 && <span id="draft-num">{this.props.draftCounts}</span>}
|
||||
</Link>
|
||||
</li>
|
||||
*/}
|
||||
<li className="nav-item">
|
||||
<Link className={`nav-link ellipsis ${this.getActiveClass('linked-devices')}`} to={siteRoot + 'linked-devices/'} title={gettext('Linked Devices')} onClick={(e) => this.tabItemClick(e, 'linked-devices')}>
|
||||
<span className="sf2-icon-monitor" aria-hidden="true"></span>
|
||||
|
Reference in New Issue
Block a user