Fix bug preventing the owner of a tournament from starting / editing matches

This commit is contained in:
JP1998 2019-04-11 16:25:24 +02:00
parent 980d2eac3d
commit 148686b7c1
1 changed files with 3 additions and 1 deletions

View File

@ -94,12 +94,14 @@ function getLevelName(levelNumber) {
}
function Stage(props) {
const { isSignedIn, isOwner } = props;
return (<div>
<Container className='py-5'>
<h1 className='custom-font'>{props.level}</h1>
<Row>
{props.matches.map((match => (
<Col className='minw-25' key={match.id}><Match match={match}/></Col>
<Col className='minw-25' key={match.id}><Match match={match} isSignedIn={isSignedIn} isOwner={isOwner}/></Col>
)))}
</Row>
</Container>