mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
Style bug repair (#2394)
* optimized css code * repair search module * repair response bug * repair notificition bug * repair file-history bug * repair search info bug * optimized code
This commit is contained in:
committed by
Daniel Pan
parent
490a15deed
commit
5ce1b15fb2
@@ -6,14 +6,15 @@ import Notification from '../common/notification';
|
||||
import Account from '../common/account';
|
||||
|
||||
const propTypes = {
|
||||
onSearchedClick: PropTypes.func.isRequired
|
||||
onSearchedClick: PropTypes.func.isRequired,
|
||||
searchPlaceholder: PropTypes.string
|
||||
};
|
||||
|
||||
class CommonToolbar extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="common-toolbar">
|
||||
{isPro && <Search onSearchedClick={this.props.onSearchedClick} placeholder={gettext("Search files")}/>}
|
||||
{isPro && <Search onSearchedClick={this.props.onSearchedClick} placeholder={gettext(this.props.searchPlaceholder)}/>}
|
||||
<Notification />
|
||||
<Account />
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user