Fullscreen page: add message when there are no matches
This commit is contained in:
parent
9d3945a3a7
commit
66e9a2e1a5
|
|
@ -26,6 +26,8 @@ function Matches(props) {
|
|||
<Spinner animation='border' role='status' size='sm'/>
|
||||
<span className='ml-3'>lade Matches</span>
|
||||
</div>);
|
||||
} else if (props.matches.length === 0) {
|
||||
matches = (<div className='text-center text-secondary font-italic'>keine Matches</div>);
|
||||
} else {
|
||||
matches = (<Row>
|
||||
{props.matches.map(match => <Col md='auto'><Match key={match.id} match={match}/></Col>)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue