исправление отображения ненайденных торрентов
This commit is contained in:
parent
8fd10b2bc2
commit
08f891e862
@ -90,6 +90,7 @@ export default class SearchResults extends Component {
|
|||||||
{
|
{
|
||||||
this.props.torrentsSearchResults && this.props.torrentsSearchResults.length == 0
|
this.props.torrentsSearchResults && this.props.torrentsSearchResults.length == 0
|
||||||
&& this.props.filesSearchResults && this.props.filesSearchResults.length == 0
|
&& this.props.filesSearchResults && this.props.filesSearchResults.length == 0
|
||||||
|
&& !this.props.currentSearching
|
||||||
?
|
?
|
||||||
<div className='row inline'>
|
<div className='row inline'>
|
||||||
<svg style={{fill: 'grey', height: '30px'}} viewBox="0 0 264.695 264.695">
|
<svg style={{fill: 'grey', height: '30px'}} viewBox="0 0 264.695 264.695">
|
||||||
|
@ -264,6 +264,7 @@ export default class Search extends Component {
|
|||||||
<SearchResults
|
<SearchResults
|
||||||
torrentsSearchResults={this.searchTorrents}
|
torrentsSearchResults={this.searchTorrents}
|
||||||
filesSearchResults={this.searchFiles}
|
filesSearchResults={this.searchFiles}
|
||||||
|
currentSearching={this.state.searchingIndicator}
|
||||||
|
|
||||||
resultSelector={
|
resultSelector={
|
||||||
<SelectField
|
<SelectField
|
||||||
|
Loading…
Reference in New Issue
Block a user