moved filter search to layout

This commit is contained in:
Minasokoni
2017-07-13 21:48:20 -07:00
parent be7b2448b2
commit 8b5c2cc409
3 changed files with 37 additions and 5 deletions

View File

@@ -135,10 +135,6 @@ export default class Topbar extends React.Component {
<img height="30" width="30" src={ Logo } alt="Swagger UX"/>
<span>swagger</span>
</Link>
{
filter === null || filter === false ? null :
<input className="operation-filter-input" placeholder="filter..." type="text" onChange={this.onFilterChange} value={filter === true ? "" : filter} disabled={isLoading} style={inputStyle} />
}
<form className="download-url-wrapper" onSubmit={formOnSubmit}>
{control}
</form>