Add indicator in the poster list for no results
This commit is contained in:
parent
57af856a0e
commit
bea5d9c7e4
@ -66,6 +66,11 @@ export default class ListPosters extends React.Component {
|
|||||||
controlModel={this.props.controlModel}
|
controlModel={this.props.controlModel}
|
||||||
controlPlaceHolder={this.props.controlPlaceHolder}
|
controlPlaceHolder={this.props.controlPlaceHolder}
|
||||||
/>
|
/>
|
||||||
|
{elmts.length === 0 &&
|
||||||
|
<div className="jumbotron">
|
||||||
|
<h2>No result</h2>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
<Infinite
|
<Infinite
|
||||||
elementHeight={this.state.fakeElementHeight}
|
elementHeight={this.state.fakeElementHeight}
|
||||||
infiniteLoadBeginEdgeOffset={200}
|
infiniteLoadBeginEdgeOffset={200}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user