Fix bug preventing the owner of a tournament from starting / editing matches
This commit is contained in:
parent
980d2eac3d
commit
148686b7c1
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue