mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
Improve hu requirement (#4502)
* optimize code * optimize code * optimize code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { isPro, gettext, showExtraLogoutIcon } from '../../utils/constants';
|
||||
import { isPro, gettext, showLogoutIcon } from '../../utils/constants';
|
||||
import Search from '../search/search';
|
||||
import Notification from '../common/notification';
|
||||
import Account from '../common/account';
|
||||
@@ -26,7 +26,7 @@ class CommonToolbar extends React.Component {
|
||||
)}
|
||||
<Notification />
|
||||
<Account />
|
||||
{showExtraLogoutIcon && (<Logout />)}
|
||||
{showLogoutIcon && (<Logout />)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user