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) {
|
function Stage(props) {
|
||||||
|
const { isSignedIn, isOwner } = props;
|
||||||
|
|
||||||
return (<div>
|
return (<div>
|
||||||
<Container className='py-5'>
|
<Container className='py-5'>
|
||||||
<h1 className='custom-font'>{props.level}</h1>
|
<h1 className='custom-font'>{props.level}</h1>
|
||||||
<Row>
|
<Row>
|
||||||
{props.matches.map((match => (
|
{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>
|
</Row>
|
||||||
</Container>
|
</Container>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue